Creating vote model and changing repository and tag relationship.