doc code; reorg repo