Move Endpoint into endpoint.rb