Transactions

Made it so transactions that are made are logged into a db and are able
to be viewed.