Create rest.rb