Theoretical Foundations of Corporate Finance