made it so router.js exports the initialized new construct