Added sendStatusUpdate for the executor.
Added slave struct, added ScheduleFunc.