Pull out vote management from the worker file