Complete first draft of docs rewrite