Added features to the Document object. The document class should be about done now.
Merge https://github.com/Akiira/KeyphraseProject