configure class for runing game