WIP.  Prototype class based graphpage definition.  Code cleanup.