Making the class for trivia activity