extracting routes from app.js