initial templating
templating enhancements for inner templates
syntax error handling