add YAML config file, improve workflow. Fixes #1