added config.js to factor out configuration of app
added upstart script