refactor DAGScheduler with Akka