Create a new instance with values loaded from config.
config : dict
Dictionary of configuration values.