renamed index.js to routes.js