new game class.