created a quiz controller, moving much logic out of video_controller