jotting down the dependency workflow
 no longer needed debug print
 more comments on dependency workflow
 working dependency-resolution implementation for the single-entry rerun, the forward workflow and half of the custom query workflow