added templates and views