Adding transaction class
Add test for transaction class stuff