adding setAll func to template component
broke header and footer out inton their own entities, and updated the
todo to use the data component, bubbled up the changes for events etc to
match