Create AdapterFactory ,DataSource and MongodbSource