Refactored transaction send
Refactoring
Refactored transaction.rb