Template engine inspired by the smarty php template engine