Updated transaction class

Filled in transaction class. Constructor is currently has no parameter
because of a call in the dbHandler. This will be easy to update after we
meet.