code: def database_caller_creator(self, host, port, name=None):
          '''creates a mongodb database
          returns the related connection object
          which will be later used to spawn the cursor
          '''
  
          client = pymongo.MongoClient(host, port)
  
          if name:
              db = client[name]
          else:
              db = client['mongodb_' + str_generator(self)]
  
          return df database_caller_creator(self, host, port, name=None):
          '''creates a mongodb database
          returns the related connection object
          which will be later used to spawn the cursor
          '''
  
          client = pymongo.MongoClient(host, port)
  
          if name:
              db = client[name]
          else:
              db = client['mongodb_' + str_generator(self)]
  
          return db
docs: creates a mongodb database
          returns the related connection object
          which will be later used to spawn the cursor