Refactor all the things.
Merge branch 'refactor/models'
Strengthens lendings validation