Refactored class TransactionControl