Move voting pool code to votingpool package