rename variables, add Document to manipulating result sets
complete the document update method and store the updated values
update code comments
add document remove method
add object equality comparison method
credits to underscore's isEqual method