re-org to fit within npm (first approximation)
more elements of the reorg for npm
renamed doc.md