Refactored the url.generator out of the twig provider into the application core