Revert "Revert "Voting Algo implementation""

This reverts commit 36a161d3bef3e238433ae84194f00aa6b82b510e.