Coffeescript version of server.