Adding setDbConfig for programmatically setting the database configuration without a configuration file.