Made worker it's own class