refactor: transaction.rb and transaction_repository.rb add:transaction_Repository_helper.rb
updates