Change QuestionGroup and AnswerGroup to Survey and Attempt