brainslug control flow abstraction and workflow library