site/page prep code

moved all site navigation, initial rendering related logic to pages.
Extension of pages can become a limited CMS