Fixing scalable engine algorithm

* Filling task dependencies
* Initial workflow tasks to execute

Change-Id: I27fa0fe9d7eb4d8428262903a14a08ff62f43f77