added RouteManager for generating routes