added BTwig adapter for Twig template engine