move everything to class Game