Title: Firms, Markets, and Contracts