A Macro-Finance Treatise on Systemic Risk