Refactored Save Transaction controller into separate file