add some changes in template and models
add changes in template and models managing counting and totalizing votes
changing index template