Merge app.coffee and router.coffee