Implement Vote model and integrate with Resource model.