Many additions to docs and reorg of reference structure.