voting added

some vote stuff is updated.

NOTE previous commit included broken code from ob1, merged for
polishing.