changes to become mongo extension version independent - Mongo vs MongoClient problem solved