fix VoteClass
Vote tested
Add BadIdError
Add OptionClass