Created Scheduler, to create repeating and delayed tasks