Extracting voteable logic from post and comment models into Voteable module