Added scheduler class