setup the page framework