Reorg library, regen docs