renamed router.js to routes.js