updating template loading

With the changes to `load-templates`, the code inside Template `type` was able to be reduced. This might still be logic that's needed in `load-templates`