simplify server.coffee