Added class GameThread