refactored vote views

add application helper to call voted class