Implement reduce
and dependency
task logic
#144
Merged
reduce
and dependency
task logic
#144