Moved lots of stuff to new submodules, patched up require paths; some concomitant fixes to docs