Create templates and views