separate route from app.js