refactor models to use constructor pattern
change date property in data.json to dateOfTransaction
add unit tests for atm model