DRY mongo client
#4 mean init: allow repo option