Added Twig Extension

Will resolve #1.