Added scheduler with tasks