Add app.coffee and modify index.js