Added commands for starting/stopping task session and purging/unpurging a task