Macroeconomics of banking