adds a lot of sql functionality for quizzes as well as scoring