Added votes to models, viewpages and controllers