IRouterFactory added
Extension: routes are attached in beforeCompile, compatible with DecoratorExtension