refactored data bags for environments & global settings