Refactors worker/boss and breaks tasks into multiple workers