Initial draft for a MongoDB Implementation. Still needs some testing and handling of exceptions.