Move some logic intro the scheduler.
Move some logic intro the scheduler.
Merge github.com:vjeko/distributed_examples