Refactored namespaces
Bugfix on large data sets

Mongo's map-reduce will reduce a large dataset multiple times, so the
reduce function must be idempotent (in the fn programming sense of the
term)