Implement Twig engine with a compiler

My thoughts on #111