add section relationship
add doc_pages relationship
scrape off cruft
speedups and cleanups