fix data driver initialization timing, and provide db in mongodb module