Preliminary implementation of PyFlowsScheduler.