Fixed twig engine (doesn't work before)

Also added getter to twig environment (allows set options later)