Setup new loan class and removed some old references
loaning functional, still some minor things to work on