The API wrapper constructor now accepts an assoc array for the config. If no config is supplied, it looks for a config.txt