add a vote model
add a factory for votes
move thumbnail methods to decorator