created a service for the twig extension