Aggregation and the Microfoundations of Dynamic Macroeconomics