remove harmony flags
allow passing config object instead of path to config file