Moved default port into config

rather than having app.js check it.