WIP. Code reorg and improved doc.  Refactor to create page method and rationalize use of render.  Start to reimplement graph for djangopages.