Foundations of Modern Macroeconomics