config for generators (using mongoDB)