add task control unit(TS)
Merge pull request #141 from irvs/issue65

add task control unit(TS)