adding templates and tpl module