Lib for creating, checking and execution of a graph of dependent actions