moved routing to app.js