Added template class, Twig Engine and Testcases with functional test