Generate votes controller and view