added delete-vote-function to srv-creator