adding the beginnings of the base page component
adding an initial template
fix the template resource type