10 is the magic number for negative votes
Added type-checking of get params
Added exec method
Added Vote class
Fixed syntax errors
The vote call now works properly