add scheduler class

for the record