akka solution
refactor DAGScheduler with Akka