only require UrlGeneratorInterface rather than full RouterInterface

fix #85