move game manager into classes