add templates and views