Fixed loan generator
Fixed record_generator, partially added comments