Extract routeMapper and router