add autogenerated config.js
port app.js to coffee