WIP: Add: Support for defining action chains in yaml

Yes, I'll add a commit to PR #781. I'll merge this change to 781.