Add class Scheduler - encapsulate working with PrologMachine and return Schedule