FEATURE: scheduler_thread as member
FEATURE: add task buffer