made transaction and transaction history classes