added loan class and command line handler script