Refactored Transactionmanagement controller.