Implementations of doing transactions. It all works now

Transactions can be done on accounts now and the history is being stored
in a table.