CATS-517 Refactor transaction controller and write unit test
CATS-488 Refactor AuditController and write test