Refactor init du twig