Refactored GameClient and BaseApplication into a single class named GameClient.