add TaskScheduler framework