MongoSearch changed to be a class