Added routing, site structure constant (PAGES) and page 'active' switching