Abandoning concept of a single base document.

Has bugs.
Bug fixes.
Merge pull request #12 from ag-csw/recursive-ralph

Recursive ralph