Added page class to manage context and set useful globals.  Implemented simple profile display.