load config from yml