Removed unnecessary Task object from Worker.
Turned ModId into a 'type' to save memory.