Added initial templating system.