Move base classes to avoid circular deps
Add Voting resource

* No csv dump option yet