Add transaction.rb and account.rb