using yaml.safe_load()
converted CLI to click