server.coffee → app.coffee; small fixes; need promises