Steve Keen explains it all... This video builds a Loanable Funds model of lending, and then converts it to Endogenous Money by simply attributing the ownership of loans to the banking sector rather than to a non-bank agent. It illustrates the importance of including banks, debt and money in macroeconomic models--and emphasizes that models which don't have all 3 facets of lending are not models of the economy in which we live.