Outputs publications page, refactored xml output into XmlHelper
Outputs custom pages
Writes content of courses page.