Started view template refactoring to enable better destruction/construction of views