Implement Twig engine with a compiler

My thoughts on #111 
leftover from the engine