Text this: Macro-economic theory, a mathematical treatment