create votes model and controller