Moved controller statements to ./routes.js from controllers/router.js