-- core.lua
local ADDON_NAME, WDIGI = ...
_G.WDIGI = WDIGI

WDIGI.VERSION = "1.2.1"

-- Initialize the base Utils table
WDIGI.Utils = WDIGI.Utils or {}

-- Initialize all namespaces
WDIGI.Commands = {}
WDIGI.DebugLevels = {}
WDIGI.Settings = {}
WDIGI.Navigation = {}
WDIGI.MapUtils = {}
WDIGI.Data = {}
WDIGI.Constants = {}

WDIGI.Constants.RS = string.char(30) -- Record Separator (\x1e)
WDIGI.Constants.US = string.char(31) -- Unit Separator (\x1f)
