separate routes and router