Took some game flow out of the class and put it in run function.