major doc restructure