Lending models

closes #4 #5