This should probably go in server.rb