First version of the voting application code.