Added Globals class for storing global variables.