Dynamically load the page type and template