I construct a unified macroeconomic framework by incorporating frictional markets in a neoclassical environment. This framework is analytically tractable despite search frictions, income risks and endogenous money distributions. I use this framework to formalize a theory that the variety and the...