Various changes to abstract resource structure.
Added Attributes but these are not currently tied into any UI.
Reusable template page so templates can be shown in more appropriate pages.