Add database model for voting proposals
Relates: #242