initial version of jinja based templates