removed some global variables, created a json object of the quiz information