Added GlobalData class, made changes to json file