update config and move routers to Moudle.php