Rethinking Macroeconomics with Endogenous Market Structure