refactor task->firetask (every package has a task module). Simplify task structure