Starting on task chaining

Issue 16
a bit more on on Issue #16