Add main logic and view for editing - ref #9
Add totalVotes and isEditable - ref #9
You can edit now - Fixes #9