Setting up class for quiz