add useful constructor TaskEnvironment(TaskHandler, Pack)
add comment