moved GameVars class definition to the preloader module