mongodb with multiple modules

When we create mongo connection we get error " Class 'MongoClient' not found" but mongo connection work fine with single module architecture ?

You should use MongoDB extension and mongo driver and collection from incubator.