moved routing away from app.js