Dynamic Models of the Firm