decompose app.coffee into separate files