Endogenous Market Strucure and the Business Cycle