add cart.rb file