move all global variables under globalStore