Create motor.rb