Implementing the task management subsystem