fix and added RouteDefinition and RouteDefinitionFactory