WIP: Add: Support for defining actions in yaml

We could maybe abstract this logic in a function or class, since there are probably other places we will do that (action metadata, etc.).

This function could also be a bit more smart about loading (e.g. select parser based on the file extension). Anyway, it's not a big deal so LGTM, +1.