getting templating sysem in place