Refactored the Worker class to use a proper state machine
Reset a value that was changed by mistake in the previous commit