Work on getting the document structure handling integrated with the project.

- Doesn't include I/O of the settings or pulling settings from another file.