Created schedule class