First pass of refactoring

Extracted views for header, edit-item, and toggle-all