Add templating system