added Twig Extension class