Refactor template setup

With the vast changes to post types and such, I've reworked the structure to make it easier to continue to expand as things continue to change.