added api functions that help to create account/close account etc. time:1hr
reworked models to handle what direction our app is going with transactions