Added votable module to DRY up the voteable code