moved common header, nav, footer stuff to LayoutHelper class for 3 main pages