Merge pull request #141 from irvs/issue65

add task control unit(TS)
modify end determination of move function