Add DB possible arguments/configuration
and move all DB connection arguments to a dictionary to avoid several conditions depending on the arguments.
and move all DB connection arguments to a dictionary to avoid several conditions depending on the arguments.