remove TaskSetQueueManager and update code style