add transactions = functional

Adding transactions is functional, and balances get stored in the
database. Still some bugs to work out regarding balance and date
formatting upon app close.