Creating templates and views