Macroeconomics of Extensive Margins: A Simple Model