Added Slim and Twig. Refactoring.