Added TransactionManager class. It is unfinished.