added Slim
added templating support