Added TaskScheduler. Properly documented.