Transactions Model and relationships implemented