GStorage: Refactored LocalStore. Added GlobalStore.