Should add a public API as entrypoint, not just cmdline?
Relates to #10 (code setup, etc.)
Relates to #164
Motivated by things like #175 (closed)
If there are more complex customizations not expressible via YAML / dictionaries of strings/ints, it'd be nice to have code / functions.