add better db support with directly hijacking MongoConnection