The Dynamic Theory of the Firm