Scratched the document structure. All "documents" are now root elements that have no parents. Began work on IO.