updated license text
updated license text and email address
map method
reduce method
implemented map/reduce methods for document collections