Split routes into sub routes.