Architecture for quizzes