added xVars and xAppVars classes