Created document objects.
Organized some code.
More parsing work.