Reorganize templates and views.