v3: initial Twig groundwork