Better organized server.rb