Title: Three essays on the theory of the firm