added game class, Lobby functions updated