Transactions: create new class Transactions(), improve encapsulation for Transaction() with new methods get_tid(), is_closed(), add_operations(), remove no-longer used state