Move vote.cache into flush cache method
Create votes helper to tidy up application controller