Combined DocumentBuilder and Document to simplify the structure and code. Changed readme and tests to reflect this change.