add window and game class