Added 'create function' at 'base router.js' and improving baseController.js