Refactor storing informations about votings