remove unused class TaskTree

using TaskIdTree instead