Quantcast

Add the TOC and libs

Joseph Collins [02-07-13 - 13:30]
Add the TOC and libs
Filename
Libs/AceAddon-3.0/AceAddon-3.0.lua
Libs/AceAddon-3.0/AceAddon-3.0.xml
Libs/AceDB-3.0/AceDB-3.0.lua
Libs/AceDB-3.0/AceDB-3.0.xml
Libs/AceEvent-3.0/AceEvent-3.0.lua
Libs/AceEvent-3.0/AceEvent-3.0.xml
Libs/AceLocale-3.0/AceLocale-3.0.lua
Libs/AceLocale-3.0/AceLocale-3.0.xml
Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml
Libs/LibStub/LibStub.lua
Libs/UTF8/utf8.lua
Libs/UTF8/utf8data.lua
TheAlternative.toc
diff --git a/Libs/AceAddon-3.0/AceAddon-3.0.lua b/Libs/AceAddon-3.0/AceAddon-3.0.lua
new file mode 100644
index 0000000..a14a6b5
--- /dev/null
+++ b/Libs/AceAddon-3.0/AceAddon-3.0.lua
@@ -0,0 +1,658 @@
+--- **AceAddon-3.0** provides a template for creating addon objects.
+-- It'll provide you with a set of callback functions that allow you to simplify the loading
+-- process of your addon.\\
+-- Callbacks provided are:\\
+-- * **OnInitialize**, which is called directly after the addon is fully loaded.
+-- * **OnEnable** which gets called during the PLAYER_LOGIN event, when most of the data provided by the game is already present.
+-- * **OnDisable**, which is only called when your addon is manually being disabled.
+-- @usage
+-- -- A small (but complete) addon, that doesn't do anything,
+-- -- but shows usage of the callbacks.
+-- local MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon")
+--
+-- function MyAddon:OnInitialize()
+--   -- do init tasks here, like loading the Saved Variables,
+--   -- or setting up slash commands.
+-- end
+--
+-- function MyAddon:OnEnable()
+--   -- Do more initialization here, that really enables the use of your addon.
+--   -- Register Events, Hook functions, Create Frames, Get information from
+--   -- the game that wasn't available in OnInitialize
+-- end
+--
+-- function MyAddon:OnDisable()
+--   -- Unhook, Unregister Events, Hide frames that you created.
+--   -- You would probably only use an OnDisable if you want to
+--   -- build a "standby" mode, or be able to toggle modules on/off.
+-- end
+-- @class file
+-- @name AceAddon-3.0.lua
+-- @release $Id: AceAddon-3.0.lua 980 2010-10-27 14:20:11Z nevcairiel $
+
+local MAJOR, MINOR = "AceAddon-3.0", 10
+local AceAddon, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
+
+if not AceAddon then return end -- No Upgrade needed.
+
+AceAddon.frame = AceAddon.frame or CreateFrame("Frame", "AceAddon30Frame") -- Our very own frame
+AceAddon.addons = AceAddon.addons or {} -- addons in general
+AceAddon.statuses = AceAddon.statuses or {} -- statuses of addon.
+AceAddon.initializequeue = AceAddon.initializequeue or {} -- addons that are new and not initialized
+AceAddon.enablequeue = AceAddon.enablequeue or {} -- addons that are initialized and waiting to be enabled
+AceAddon.embeds = AceAddon.embeds or setmetatable({}, {__index = function(tbl, key) tbl[key] = {} return tbl[key] end }) -- contains a list of libraries embedded in an addon
+
+-- Lua APIs
+local tinsert, tconcat, tremove = table.insert, table.concat, table.remove
+local fmt, tostring = string.format, tostring
+local select, pairs, next, type, unpack = select, pairs, next, type, unpack
+local loadstring, assert, error = loadstring, assert, error
+local setmetatable, getmetatable, rawset, rawget = setmetatable, getmetatable, rawset, rawget
+
+-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
+-- List them here for Mikk's FindGlobals script
+-- GLOBALS: LibStub, IsLoggedIn, geterrorhandler
+
+--[[
+	 xpcall safecall implementation
+]]
+local xpcall = xpcall
+
+local function errorhandler(err)
+	return geterrorhandler()(err)
+end
+
+local function CreateDispatcher(argCount)
+	local code = [[
+		local xpcall, eh = ...
+		local method, ARGS
+		local function call() return method(ARGS) end
+
+		local function dispatch(func, ...)
+			 method = func
+			 if not method then return end
+			 ARGS = ...
+			 return xpcall(call, eh)
+		end
+
+		return dispatch
+	]]
+
+	local ARGS = {}
+	for i = 1, argCount do ARGS[i] = "arg"..i end
+	code = code:gsub("ARGS", tconcat(ARGS, ", "))
+	return assert(loadstring(code, "safecall Dispatcher["..argCount.."]"))(xpcall, errorhandler)
+end
+
+local Dispatchers = setmetatable({}, {__index=function(self, argCount)
+	local dispatcher = CreateDispatcher(argCount)
+	rawset(self, argCount, dispatcher)
+	return dispatcher
+end})
+Dispatchers[0] = function(func)
+	return xpcall(func, errorhandler)
+end
+
+local function safecall(func, ...)
+	-- we check to see if the func is passed is actually a function here and don't error when it isn't
+	-- this safecall is used for optional functions like OnInitialize OnEnable etc. When they are not
+	-- present execution should continue without hinderance
+	if type(func) == "function" then
+		return Dispatchers[select('#', ...)](func, ...)
+	end
+end
+
+-- local functions that will be implemented further down
+local Enable, Disable, EnableModule, DisableModule, Embed, NewModule, GetModule, GetName, SetDefaultModuleState, SetDefaultModuleLibraries, SetEnabledState, SetDefaultModulePrototype
+
+-- used in the addon metatable
+local function addontostring( self ) return self.name end
+
+--- Create a new AceAddon-3.0 addon.
+-- Any libraries you specified will be embeded, and the addon will be scheduled for
+-- its OnInitialize and OnEnable callbacks.
+-- The final addon object, with all libraries embeded, will be returned.
+-- @paramsig [object ,]name[, lib, ...]
+-- @param object Table to use as a base for the addon (optional)
+-- @param name Name of the addon object to create
+-- @param lib List of libraries to embed into the addon
+-- @usage
+-- -- Create a simple addon object
+-- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon", "AceEvent-3.0")
+--
+-- -- Create a Addon object based on the table of a frame
+-- local MyFrame = CreateFrame("Frame")
+-- MyAddon = LibStub("AceAddon-3.0"):NewAddon(MyFrame, "MyAddon", "AceEvent-3.0")
+function AceAddon:NewAddon(objectorname, ...)
+	local object,name
+	local i=1
+	if type(objectorname)=="table" then
+		object=objectorname
+		name=...
+		i=2
+	else
+		name=objectorname
+	end
+	if type(name)~="string" then
+		error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2)
+	end
+	if self.addons[name] then
+		error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - Addon '%s' already exists."):format(name), 2)
+	end
+
+	object = object or {}
+	object.name = name
+
+	local addonmeta = {}
+	local oldmeta = getmetatable(object)
+	if oldmeta then
+		for k, v in pairs(oldmeta) do addonmeta[k] = v end
+	end
+	addonmeta.__tostring = addontostring
+
+	setmetatable( object, addonmeta )
+	self.addons[name] = object
+	object.modules = {}
+	object.orderedModules = {}
+	object.defaultModuleLibraries = {}
+	Embed( object ) -- embed NewModule, GetModule methods
+	self:EmbedLibraries(object, select(i,...))
+
+	-- add to queue of addons to be initialized upon ADDON_LOADED
+	tinsert(self.initializequeue, object)
+	return object
+end
+
+
+--- Get the addon object by its name from the internal AceAddon registry.
+-- Throws an error if the addon object cannot be found (except if silent is set).
+-- @param name unique name of the addon object
+-- @param silent if true, the addon is optional, silently return nil if its not found
+-- @usage
+-- -- Get the Addon
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+function AceAddon:GetAddon(name, silent)
+	if not silent and not self.addons[name] then
+		error(("Usage: GetAddon(name): 'name' - Cannot find an AceAddon '%s'."):format(tostring(name)), 2)
+	end
+	return self.addons[name]
+end
+
+-- - Embed a list of libraries into the specified addon.
+-- This function will try to embed all of the listed libraries into the addon
+-- and error if a single one fails.
+--
+-- **Note:** This function is for internal use by :NewAddon/:NewModule
+-- @paramsig addon, [lib, ...]
+-- @param addon addon object to embed the libs in
+-- @param lib List of libraries to embed into the addon
+function AceAddon:EmbedLibraries(addon, ...)
+	for i=1,select("#", ... ) do
+		local libname = select(i, ...)
+		self:EmbedLibrary(addon, libname, false, 4)
+	end
+end
+
+-- - Embed a library into the addon object.
+-- This function will check if the specified library is registered with LibStub
+-- and if it has a :Embed function to call. It'll error if any of those conditions
+-- fails.
+--
+-- **Note:** This function is for internal use by :EmbedLibraries
+-- @paramsig addon, libname[, silent[, offset]]
+-- @param addon addon object to embed the library in
+-- @param libname name of the library to embed
+-- @param silent marks an embed to fail silently if the library doesn't exist (optional)
+-- @param offset will push the error messages back to said offset, defaults to 2 (optional)
+function AceAddon:EmbedLibrary(addon, libname, silent, offset)
+	local lib = LibStub:GetLibrary(libname, true)
+	if not lib and not silent then
+		error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of %q."):format(tostring(libname)), offset or 2)
+	elseif lib and type(lib.Embed) == "function" then
+		lib:Embed(addon)
+		tinsert(self.embeds[addon], libname)
+		return true
+	elseif lib then
+		error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Library '%s' is not Embed capable"):format(libname), offset or 2)
+	end
+end
+
+--- Return the specified module from an addon object.
+-- Throws an error if the addon object cannot be found (except if silent is set)
+-- @name //addon//:GetModule
+-- @paramsig name[, silent]
+-- @param name unique name of the module
+-- @param silent if true, the module is optional, silently return nil if its not found (optional)
+-- @usage
+-- -- Get the Addon
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- -- Get the Module
+-- MyModule = MyAddon:GetModule("MyModule")
+function GetModule(self, name, silent)
+	if not self.modules[name] and not silent then
+		error(("Usage: GetModule(name, silent): 'name' - Cannot find module '%s'."):format(tostring(name)), 2)
+	end
+	return self.modules[name]
+end
+
+local function IsModuleTrue(self) return true end
+
+--- Create a new module for the addon.
+-- The new module can have its own embeded libraries and/or use a module prototype to be mixed into the module.\\
+-- A module has the same functionality as a real addon, it can have modules of its own, and has the same API as
+-- an addon object.
+-- @name //addon//:NewModule
+-- @paramsig name[, prototype|lib[, lib, ...]]
+-- @param name unique name of the module
+-- @param prototype object to derive this module from, methods and values from this table will be mixed into the module (optional)
+-- @param lib List of libraries to embed into the addon
+-- @usage
+-- -- Create a module with some embeded libraries
+-- MyModule = MyAddon:NewModule("MyModule", "AceEvent-3.0", "AceHook-3.0")
+--
+-- -- Create a module with a prototype
+-- local prototype = { OnEnable = function(self) print("OnEnable called!") end }
+-- MyModule = MyAddon:NewModule("MyModule", prototype, "AceEvent-3.0", "AceHook-3.0")
+function NewModule(self, name, prototype, ...)
+	if type(name) ~= "string" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2) end
+	if type(prototype) ~= "string" and type(prototype) ~= "table" and type(prototype) ~= "nil" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'prototype' - table (prototype), string (lib) or nil expected got '%s'."):format(type(prototype)), 2) end
+
+	if self.modules[name] then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module '%s' already exists."):format(name), 2) end
+
+	-- modules are basically addons. We treat them as such. They will be added to the initializequeue properly as well.
+	-- NewModule can only be called after the parent addon is present thus the modules will be initialized after their parent is.
+	local module = AceAddon:NewAddon(fmt("%s_%s", self.name or tostring(self), name))
+
+	module.IsModule = IsModuleTrue
+	module:SetEnabledState(self.defaultModuleState)
+	module.moduleName = name
+
+	if type(prototype) == "string" then
+		AceAddon:EmbedLibraries(module, prototype, ...)
+	else
+		AceAddon:EmbedLibraries(module, ...)
+	end
+	AceAddon:EmbedLibraries(module, unpack(self.defaultModuleLibraries))
+
+	if not prototype or type(prototype) == "string" then
+		prototype = self.defaultModulePrototype or nil
+	end
+
+	if type(prototype) == "table" then
+		local mt = getmetatable(module)
+		mt.__index = prototype
+		setmetatable(module, mt)  -- More of a Base class type feel.
+	end
+
+	safecall(self.OnModuleCreated, self, module) -- Was in Ace2 and I think it could be a cool thing to have handy.
+	self.modules[name] = module
+	tinsert(self.orderedModules, module)
+
+	return module
+end
+
+--- Returns the real name of the addon or module, without any prefix.
+-- @name //addon//:GetName
+-- @paramsig
+-- @usage
+-- print(MyAddon:GetName())
+-- -- prints "MyAddon"
+function GetName(self)
+	return self.moduleName or self.name
+end
+
+--- Enables the Addon, if possible, return true or false depending on success.
+-- This internally calls AceAddon:EnableAddon(), thus dispatching a OnEnable callback
+-- and enabling all modules of the addon (unless explicitly disabled).\\
+-- :Enable() also sets the internal `enableState` variable to true
+-- @name //addon//:Enable
+-- @paramsig
+-- @usage
+-- -- Enable MyModule
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyModule = MyAddon:GetModule("MyModule")
+-- MyModule:Enable()
+function Enable(self)
+	self:SetEnabledState(true)
+	return AceAddon:EnableAddon(self)
+end
+
+--- Disables the Addon, if possible, return true or false depending on success.
+-- This internally calls AceAddon:DisableAddon(), thus dispatching a OnDisable callback
+-- and disabling all modules of the addon.\\
+-- :Disable() also sets the internal `enableState` variable to false
+-- @name //addon//:Disable
+-- @paramsig
+-- @usage
+-- -- Disable MyAddon
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyAddon:Disable()
+function Disable(self)
+	self:SetEnabledState(false)
+	return AceAddon:DisableAddon(self)
+end
+
+--- Enables the Module, if possible, return true or false depending on success.
+-- Short-hand function that retrieves the module via `:GetModule` and calls `:Enable` on the module object.
+-- @name //addon//:EnableModule
+-- @paramsig name
+-- @usage
+-- -- Enable MyModule using :GetModule
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyModule = MyAddon:GetModule("MyModule")
+-- MyModule:Enable()
+--
+-- -- Enable MyModule using the short-hand
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyAddon:EnableModule("MyModule")
+function EnableModule(self, name)
+	local module = self:GetModule( name )
+	return module:Enable()
+end
+
+--- Disables the Module, if possible, return true or false depending on success.
+-- Short-hand function that retrieves the module via `:GetModule` and calls `:Disable` on the module object.
+-- @name //addon//:DisableModule
+-- @paramsig name
+-- @usage
+-- -- Disable MyModule using :GetModule
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyModule = MyAddon:GetModule("MyModule")
+-- MyModule:Disable()
+--
+-- -- Disable MyModule using the short-hand
+-- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon")
+-- MyAddon:DisableModule("MyModule")
+function DisableModule(self, name)
+	local module = self:GetModule( name )
+	return module:Disable()
+end
+
+--- Set the default libraries to be mixed into all modules created by this object.
+-- Note that you can only change the default module libraries before any module is created.
+-- @name //addon//:SetDefaultModuleLibraries
+-- @paramsig lib[, lib, ...]
+-- @param lib List of libraries to embed into the addon
+-- @usage
+-- -- Create the addon object
+-- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon")
+-- -- Configure default libraries for modules (all modules need AceEvent-3.0)
+-- MyAddon:SetDefaultModuleLibraries("AceEvent-3.0")
+-- -- Create a module
+-- MyModule = MyAddon:NewModule("MyModule")
+function SetDefaultModuleLibraries(self, ...)
+	if next(self.modules) then
+		error("Usage: SetDefaultModuleLibraries(...): cannot change the module defaults after a module has been registered.", 2)
+	end
+	self.defaultModuleLibraries = {...}
+end
+
+--- Set the default state in which new modules are being created.
+-- Note that you can only change the default state before any module is created.
+-- @name //addon//:SetDefaultModuleState
+-- @paramsig state
+-- @param state Default state for new modules, true for enabled, false for disabled
+-- @usage
+-- -- Create the addon object
+-- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon")
+-- -- Set the default state to "disabled"
+-- MyAddon:SetDefaultModuleState(false)
+-- -- Create a module and explicilty enable it
+-- MyModule = MyAddon:NewModule("MyModule")
+-- MyModule:Enable()
+function SetDefaultModuleState(self, state)
+	if next(self.modules) then
+		error("Usage: SetDefaultModuleState(state): cannot change the module defaults after a module has been registered.", 2)
+	end
+	self.defaultModuleState = state
+end
+
+--- Set the default prototype to use for new modules on creation.
+-- Note that you can only change the default prototype before any module is created.
+-- @name //addon//:SetDefaultModulePrototype
+-- @paramsig prototype
+-- @param prototype Default prototype for the new modules (table)
+-- @usage
+-- -- Define a prototype
+-- local prototype = { OnEnable = function(self) print("OnEnable called!") end }
+-- -- Set the default prototype
+-- MyAddon:SetDefaultModulePrototype(prototype)
+-- -- Create a module and explicitly Enable it
+-- MyModule = MyAddon:NewModule("MyModule")
+-- MyModule:Enable()
+-- -- should print "OnEnable called!" now
+-- @see NewModule
+function SetDefaultModulePrototype(self, prototype)
+	if next(self.modules) then
+		error("Usage: SetDefaultModulePrototype(prototype): cannot change the module defaults after a module has been registered.", 2)
+	end
+	if type(prototype) ~= "table" then
+		error(("Usage: SetDefaultModulePrototype(prototype): 'prototype' - table expected got '%s'."):format(type(prototype)), 2)
+	end
+	self.defaultModulePrototype = prototype
+end
+
+--- Set the state of an addon or module
+-- This should only be called before any enabling actually happend, e.g. in/before OnInitialize.
+-- @name //addon//:SetEnabledState
+-- @paramsig state
+-- @param state the state of an addon or module  (enabled=true, disabled=false)
+function SetEnabledState(self, state)
+	self.enabledState = state
+end
+
+
+--- Return an iterator of all modules associated to the addon.
+-- @name //addon//:IterateModules
+-- @paramsig
+-- @usage
+-- -- Enable all modules
+-- for name, module in MyAddon:IterateModules() do
+--    module:Enable()
+-- end
+local function IterateModules(self) return pairs(self.modules) end
+
+-- Returns an iterator of all embeds in the addon
+-- @name //addon//:IterateEmbeds
+-- @paramsig
+local function IterateEmbeds(self) return pairs(AceAddon.embeds[self]) end
+
+--- Query the enabledState of an addon.
+-- @name //addon//:IsEnabled
+-- @paramsig
+-- @usage
+-- if MyAddon:IsEnabled() then
+--     MyAddon:Disable()
+-- end
+local function IsEnabled(self) return self.enabledState end
+local mixins = {
+	NewModule = NewModule,
+	GetModule = GetModule,
+	Enable = Enable,
+	Disable = Disable,
+	EnableModule = EnableModule,
+	DisableModule = DisableModule,
+	IsEnabled = IsEnabled,
+	SetDefaultModuleLibraries = SetDefaultModuleLibraries,
+	SetDefaultModuleState = SetDefaultModuleState,
+	SetDefaultModulePrototype = SetDefaultModulePrototype,
+	SetEnabledState = SetEnabledState,
+	IterateModules = IterateModules,
+	IterateEmbeds = IterateEmbeds,
+	GetName = GetName,
+}
+local function IsModule(self) return false end
+local pmixins = {
+	defaultModuleState = true,
+	enabledState = true,
+	IsModule = IsModule,
+}
+-- Embed( target )
+-- target (object) - target object to embed aceaddon in
+--
+-- this is a local function specifically since it's meant to be only called internally
+function Embed(target, skipPMixins)
+	for k, v in pairs(mixins) do
+		target[k] = v
+	end
+	if not skipPMixins then
+		for k, v in pairs(pmixins) do
+			target[k] = target[k] or v
+		end
+	end
+end
+
+
+-- - Initialize the addon after creation.
+-- This function is only used internally during the ADDON_LOADED event
+-- It will call the **OnInitialize** function on the addon object (if present),
+-- and the **OnEmbedInitialize** function on all embeded libraries.
+--
+-- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing.
+-- @param addon addon object to intialize
+function AceAddon:InitializeAddon(addon)
+	safecall(addon.OnInitialize, addon)
+
+	local embeds = self.embeds[addon]
+	for i = 1, #embeds do
+		local lib = LibStub:GetLibrary(embeds[i], true)
+		if lib then safecall(lib.OnEmbedInitialize, lib, addon) end
+	end
+
+	-- we don't call InitializeAddon on modules specifically, this is handled
+	-- from the event handler and only done _once_
+end
+
+-- - Enable the addon after creation.
+-- Note: This function is only used internally during the PLAYER_LOGIN event, or during ADDON_LOADED,
+-- if IsLoggedIn() already returns true at that point, e.g. for LoD Addons.
+-- It will call the **OnEnable** function on the addon object (if present),
+-- and the **OnEmbedEnable** function on all embeded libraries.\\
+-- This function does not toggle the enable state of the addon itself, and will return early if the addon is disabled.
+--
+-- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing.
+-- Use :Enable on the addon itself instead.
+-- @param addon addon object to enable
+function AceAddon:EnableAddon(addon)
+	if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end
+	if self.statuses[addon.name] or not addon.enabledState then return false end
+
+	-- set the statuses first, before calling the OnEnable. this allows for Disabling of the addon in OnEnable.
+	self.statuses[addon.name] = true
+
+	safecall(addon.OnEnable, addon)
+
+	-- make sure we're still enabled before continueing
+	if self.statuses[addon.name] then
+		local embeds = self.embeds[addon]
+		for i = 1, #embeds do
+			local lib = LibStub:GetLibrary(embeds[i], true)
+			if lib then safecall(lib.OnEmbedEnable, lib, addon) end
+		end
+
+		-- enable possible modules.
+		local modules = addon.orderedModules
+		for i = 1, #modules do
+			self:EnableAddon(modules[i])
+		end
+	end
+	return self.statuses[addon.name] -- return true if we're disabled
+end
+
+-- - Disable the addon
+-- Note: This function is only used internally.
+-- It will call the **OnDisable** function on the addon object (if present),
+-- and the **OnEmbedDisable** function on all embeded libraries.\\
+-- This function does not toggle the enable state of the addon itself, and will return early if the addon is still enabled.
+--
+-- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing.
+-- Use :Disable on the addon itself instead.
+-- @param addon addon object to enable
+function AceAddon:DisableAddon(addon)
+	if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end
+	if not self.statuses[addon.name] then return false end
+
+	-- set statuses first before calling OnDisable, this allows for aborting the disable in OnDisable.
+	self.statuses[addon.name] = false
+
+	safecall( addon.OnDisable, addon )
+
+	-- make sure we're still disabling...
+	if not self.statuses[addon.name] then
+		local embeds = self.embeds[addon]
+		for i = 1, #embeds do
+			local lib = LibStub:GetLibrary(embeds[i], true)
+			if lib then safecall(lib.OnEmbedDisable, lib, addon) end
+		end
+		-- disable possible modules.
+		local modules = addon.orderedModules
+		for i = 1, #modules do
+			self:DisableAddon(modules[i])
+		end
+	end
+
+	return not self.statuses[addon.name] -- return true if we're disabled
+end
+
+--- Get an iterator over all registered addons.
+-- @usage
+-- -- Print a list of all installed AceAddon's
+-- for name, addon in AceAddon:IterateAddons() do
+--   print("Addon: " .. name)
+-- end
+function AceAddon:IterateAddons() return pairs(self.addons) end
+
+--- Get an iterator over the internal status registry.
+-- @usage
+-- -- Print a list of all enabled addons
+-- for name, status in AceAddon:IterateAddonStatus() do
+--   if status then
+--     print("EnabledAddon: " .. name)
+--   end
+-- end
+function AceAddon:IterateAddonStatus() return pairs(self.statuses) end
+
+-- Following Iterators are deprecated, and their addon specific versions should be used
+-- e.g. addon:IterateEmbeds() instead of :IterateEmbedsOnAddon(addon)
+function AceAddon:IterateEmbedsOnAddon(addon) return pairs(self.embeds[addon]) end
+function AceAddon:IterateModulesOfAddon(addon) return pairs(addon.modules) end
+
+-- Event Handling
+local function onEvent(this, event, arg1)
+	if event == "ADDON_LOADED" or event == "PLAYER_LOGIN" then
+		-- if a addon loads another addon, recursion could happen here, so we need to validate the table on every iteration
+		while(#AceAddon.initializequeue > 0) do
+			local addon = tremove(AceAddon.initializequeue, 1)
+			-- this might be an issue with recursion - TODO: validate
+			if event == "ADDON_LOADED" then addon.baseName = arg1 end
+			AceAddon:InitializeAddon(addon)
+			tinsert(AceAddon.enablequeue, addon)
+		end
+
+		if IsLoggedIn() then
+			while(#AceAddon.enablequeue > 0) do
+				local addon = tremove(AceAddon.enablequeue, 1)
+				AceAddon:EnableAddon(addon)
+			end
+		end
+	end
+end
+
+AceAddon.frame:RegisterEvent("ADDON_LOADED")
+AceAddon.frame:RegisterEvent("PLAYER_LOGIN")
+AceAddon.frame:SetScript("OnEvent", onEvent)
+
+-- upgrade embeded
+for name, addon in pairs(AceAddon.addons) do
+	Embed(addon, true)
+end
+
+-- 2010-10-27 nevcairiel - add new "orderedModules" table
+if oldminor and oldminor < 10 then
+	for name, addon in pairs(AceAddon.addons) do
+		addon.orderedModules = {}
+		for module_name, module in pairs(addon.modules) do
+			tinsert(addon.orderedModules, module)
+		end
+	end
+end
diff --git a/Libs/AceAddon-3.0/AceAddon-3.0.xml b/Libs/AceAddon-3.0/AceAddon-3.0.xml
new file mode 100644
index 0000000..e6ad639
--- /dev/null
+++ b/Libs/AceAddon-3.0/AceAddon-3.0.xml
@@ -0,0 +1,4 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+..\FrameXML\UI.xsd">
+	<Script file="AceAddon-3.0.lua"/>
+</Ui>
\ No newline at end of file
diff --git a/Libs/AceDB-3.0/AceDB-3.0.lua b/Libs/AceDB-3.0/AceDB-3.0.lua
new file mode 100644
index 0000000..7a29450
--- /dev/null
+++ b/Libs/AceDB-3.0/AceDB-3.0.lua
@@ -0,0 +1,728 @@
+--- **AceDB-3.0** manages the SavedVariables of your addon.
+-- It offers profile management, smart defaults and namespaces for modules.\\
+-- Data can be saved in different data-types, depending on its intended usage.
+-- The most common data-type is the `profile` type, which allows the user to choose
+-- the active profile, and manage the profiles of all of his characters.\\
+-- The following data types are available:
+-- * **char** Character-specific data. Every character has its own database.
+-- * **realm** Realm-specific data. All of the players characters on the same realm share this database.
+-- * **class** Class-specific data. All of the players characters of the same class share this database.
+-- * **race** Race-specific data. All of the players characters of the same race share this database.
+-- * **faction** Faction-specific data. All of the players characters of the same faction share this database.
+-- * **factionrealm** Faction and realm specific data. All of the players characters on the same realm and of the same faction share this database.
+-- * **global** Global Data. All characters on the same account share this database.
+-- * **profile** Profile-specific data. All characters using the same profile share this database. The user can control which profile should be used.
+--
+-- Creating a new Database using the `:New` function will return a new DBObject. A database will inherit all functions
+-- of the DBObjectLib listed here. \\
+-- If you create a new namespaced child-database (`:RegisterNamespace`), you'll get a DBObject as well, but note
+-- that the child-databases cannot individually change their profile, and are linked to their parents profile - and because of that,
+-- the profile related APIs are not available. Only `:RegisterDefaults` and `:ResetProfile` are available on child-databases.
+--
+-- For more details on how to use AceDB-3.0, see the [[AceDB-3.0 Tutorial]].
+--
+-- You may also be interested in [[libdualspec-1-0|LibDualSpec-1.0]] to do profile switching automatically when switching specs.
+--
+-- @usage
+-- MyAddon = LibStub("AceAddon-3.0"):NewAddon("DBExample")
+--
+-- -- declare defaults to be used in the DB
+-- local defaults = {
+--   profile = {
+--     setting = true,
+--   }
+-- }
+--
+-- function MyAddon:OnInitialize()
+--   -- Assuming the .toc says ## SavedVariables: MyAddonDB
+--   self.db = LibStub("AceDB-3.0"):New("MyAddonDB", defaults, true)
+-- end
+-- @class file
+-- @name AceDB-3.0.lua
+-- @release $Id: AceDB-3.0.lua 940 2010-06-19 08:01:47Z nevcairiel $
+local ACEDB_MAJOR, ACEDB_MINOR = "AceDB-3.0", 21
+local AceDB, oldminor = LibStub:NewLibrary(ACEDB_MAJOR, ACEDB_MINOR)
+
+if not AceDB then return end -- No upgrade needed
+
+-- Lua APIs
+local type, pairs, next, error = type, pairs, next, error
+local setmetatable, getmetatable, rawset, rawget = setmetatable, getmetatable, rawset, rawget
+
+-- WoW APIs
+local _G = _G
+
+-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
+-- List them here for Mikk's FindGlobals script
+-- GLOBALS: LibStub
+
+AceDB.db_registry = AceDB.db_registry or {}
+AceDB.frame = AceDB.frame or CreateFrame("Frame")
+
+local CallbackHandler
+local CallbackDummy = { Fire = function() end }
+
+local DBObjectLib = {}
+
+--[[-------------------------------------------------------------------------
+	AceDB Utility Functions
+---------------------------------------------------------------------------]]
+
+-- Simple shallow copy for copying defaults
+local function copyTable(src, dest)
+	if type(dest) ~= "table" then dest = {} end
+	if type(src) == "table" then
+		for k,v in pairs(src) do
+			if type(v) == "table" then
+				-- try to index the key first so that the metatable creates the defaults, if set, and use that table
+				v = copyTable(v, dest[k])
+			end
+			dest[k] = v
+		end
+	end
+	return dest
+end
+
+-- Called to add defaults to a section of the database
+--
+-- When a ["*"] default section is indexed with a new key, a table is returned
+-- and set in the host table.  These tables must be cleaned up by removeDefaults
+-- in order to ensure we don't write empty default tables.
+local function copyDefaults(dest, src)
+	-- this happens if some value in the SV overwrites our default value with a non-table
+	--if type(dest) ~= "table" then return end
+	for k, v in pairs(src) do
+		if k == "*" or k == "**" then
+			if type(v) == "table" then
+				-- This is a metatable used for table defaults
+				local mt = {
+					-- This handles the lookup and creation of new subtables
+					__index = function(t,k)
+							if k == nil then return nil end
+							local tbl = {}
+							copyDefaults(tbl, v)
+							rawset(t, k, tbl)
+							return tbl
+						end,
+				}
+				setmetatable(dest, mt)
+				-- handle already existing tables in the SV
+				for dk, dv in pairs(dest) do
+					if not rawget(src, dk) and type(dv) == "table" then
+						copyDefaults(dv, v)
+					end
+				end
+			else
+				-- Values are not tables, so this is just a simple return
+				local mt = {__index = function(t,k) return k~=nil and v or nil end}
+				setmetatable(dest, mt)
+			end
+		elseif type(v) == "table" then
+			if not rawget(dest, k) then rawset(dest, k, {}) end
+			if type(dest[k]) == "table" then
+				copyDefaults(dest[k], v)
+				if src['**'] then
+					copyDefaults(dest[k], src['**'])
+				end
+			end
+		else
+			if rawget(dest, k) == nil then
+				rawset(dest, k, v)
+			end
+		end
+	end
+end
+
+-- Called to remove all defaults in the default table from the database
+local function removeDefaults(db, defaults, blocker)
+	-- remove all metatables from the db, so we don't accidentally create new sub-tables through them
+	setmetatable(db, nil)
+	-- loop through the defaults and remove their content
+	for k,v in pairs(defaults) do
+		if k == "*" or k == "**" then
+			if type(v) == "table" then
+				-- Loop through all the actual k,v pairs and remove
+				for key, value in pairs(db) do
+					if type(value) == "table" then
+						-- if the key was not explicitly specified in the defaults table, just strip everything from * and ** tables
+						if defaults[key] == nil and (not blocker or blocker[key] == nil) then
+							removeDefaults(value, v)
+							-- if the table is empty afterwards, remove it
+							if next(value) == nil then
+								db[key] = nil
+							end
+						-- if it was specified, only strip ** content, but block values which were set in the key table
+						elseif k == "**" then
+							removeDefaults(value, v, defaults[key])
+						end
+					end
+				end
+			elseif k == "*" then
+				-- check for non-table default
+				for key, value in pairs(db) do
+					if defaults[key] == nil and v == value then
+						db[key] = nil
+					end
+				end
+			end
+		elseif type(v) == "table" and type(db[k]) == "table" then
+			-- if a blocker was set, dive into it, to allow multi-level defaults
+			removeDefaults(db[k], v, blocker and blocker[k])
+			if next(db[k]) == nil then
+				db[k] = nil
+			end
+		else
+			-- check if the current value matches the default, and that its not blocked by another defaults table
+			if db[k] == defaults[k] and (not blocker or blocker[k] == nil) then
+				db[k] = nil
+			end
+		end
+	end
+end
+
+-- This is called when a table section is first accessed, to set up the defaults
+local function initSection(db, section, svstore, key, defaults)
+	local sv = rawget(db, "sv")
+
+	local tableCreated
+	if not sv[svstore] then sv[svstore] = {} end
+	if not sv[svstore][key] then
+		sv[svstore][key] = {}
+		tableCreated = true
+	end
+
+	local tbl = sv[svstore][key]
+
+	if defaults then
+		copyDefaults(tbl, defaults)
+	end
+	rawset(db, section, tbl)
+
+	return tableCreated, tbl
+end
+
+-- Metatable to handle the dynamic creation of sections and copying of sections.
+local dbmt = {
+	__index = function(t, section)
+			local keys = rawget(t, "keys")
+			local key = keys[section]
+			if key then
+				local defaultTbl = rawget(t, "defaults")
+				local defaults = defaultTbl and defaultTbl[section]
+
+				if section == "profile" then
+					local new = initSection(t, section, "profiles", key, defaults)
+					if new then
+						-- Callback: OnNewProfile, database, newProfileKey
+						t.callbacks:Fire("OnNewProfile", t, key)
+					end
+				elseif section == "profiles" then
+					local sv = rawget(t, "sv")
+					if not sv.profiles then sv.profiles = {} end
+					rawset(t, "profiles", sv.profiles)
+				elseif section == "global" then
+					local sv = rawget(t, "sv")
+					if not sv.global then sv.global = {} end
+					if defaults then
+						copyDefaults(sv.global, defaults)
+					end
+					rawset(t, section, sv.global)
+				else
+					initSection(t, section, section, key, defaults)
+				end
+			end
+
+			return rawget(t, section)
+		end
+}
+
+local function validateDefaults(defaults, keyTbl, offset)
+	if not defaults then return end
+	offset = offset or 0
+	for k in pairs(defaults) do
+		if not keyTbl[k] or k == "profiles" then
+			error(("Usage: AceDBObject:RegisterDefaults(defaults): '%s' is not a valid datatype."):format(k), 3 + offset)
+		end
+	end
+end
+
+local preserve_keys = {
+	["callbacks"] = true,
+	["RegisterCallback"] = true,
+	["UnregisterCallback"] = true,
+	["UnregisterAllCallbacks"] = true,
+	["children"] = true,
+}
+
+local realmKey = GetRealmName()
+local charKey = UnitName("player") .. " - " .. realmKey
+local _, classKey = UnitClass("player")
+local _, raceKey = UnitRace("player")
+local factionKey = UnitFactionGroup("player")
+local factionrealmKey = factionKey .. " - " .. realmKey
+-- Actual database initialization function
+local function initdb(sv, defaults, defaultProfile, olddb, parent)
+	-- Generate the database keys for each section
+
+	-- map "true" to our "Default" profile
+	if defaultProfile == true then defaultProfile = "Default" end
+
+	local profileKey
+	if not parent then
+		-- Make a container for profile keys
+		if not sv.profileKeys then sv.profileKeys = {} end
+
+		-- Try to get the profile selected from the char db
+		profileKey = sv.profileKeys[charKey] or defaultProfile or charKey
+
+		-- save the selected profile for later
+		sv.profileKeys[charKey] = profileKey
+	else
+		-- Use the profile of the parents DB
+		profileKey = parent.keys.profile or defaultProfile or charKey
+
+		-- clear the profileKeys in the DB, namespaces don't need to store them
+		sv.profileKeys = nil
+	end
+
+	-- This table contains keys that enable the dynamic creation
+	-- of each section of the table.  The 'global' and 'profiles'
+	-- have a key of true, since they are handled in a special case
+	local keyTbl= {
+		["char"] = charKey,
+		["realm"] = realmKey,
+		["class"] = classKey,
+		["race"] = raceKey,
+		["faction"] = factionKey,
+		["factionrealm"] = factionrealmKey,
+		["profile"] = profileKey,
+		["global"] = true,
+		["profiles"] = true,
+	}
+
+	validateDefaults(defaults, keyTbl, 1)
+
+	-- This allows us to use this function to reset an entire database
+	-- Clear out the old database
+	if olddb then
+		for k,v in pairs(olddb) do if not preserve_keys[k] then olddb[k] = nil end end
+	end
+
+	-- Give this database the metatable so it initializes dynamically
+	local db = setmetatable(olddb or {}, dbmt)
+
+	if not rawget(db, "callbacks") then
+		-- try to load CallbackHandler-1.0 if it loaded after our library
+		if not CallbackHandler then CallbackHandler = LibStub:GetLibrary("CallbackHandler-1.0", true) end
+		db.callbacks = CallbackHandler and CallbackHandler:New(db) or CallbackDummy
+	end
+
+	-- Copy methods locally into the database object, to avoid hitting
+	-- the metatable when calling methods
+
+	if not parent then
+		for name, func in pairs(DBObjectLib) do
+			db[name] = func
+		end
+	else
+		-- hack this one in
+		db.RegisterDefaults = DBObjectLib.RegisterDefaults
+		db.ResetProfile = DBObjectLib.ResetProfile
+	end
+
+	-- Set some properties in the database object
+	db.profiles = sv.profiles
+	db.keys = keyTbl
+	db.sv = sv
+	--db.sv_name = name
+	db.defaults = defaults
+	db.parent = parent
+
+	-- store the DB in the registry
+	AceDB.db_registry[db] = true
+
+	return db
+end
+
+-- handle PLAYER_LOGOUT
+-- strip all defaults from all databases
+-- and cleans up empty sections
+local function logoutHandler(frame, event)
+	if event == "PLAYER_LOGOUT" then
+		for db in pairs(AceDB.db_registry) do
+			db.callbacks:Fire("OnDatabaseShutdown", db)
+			db:RegisterDefaults(nil)
+
+			-- cleanup sections that are empty without defaults
+			local sv = rawget(db, "sv")
+			for section in pairs(db.keys) do
+				if rawget(sv, section) then
+					-- global is special, all other sections have sub-entrys
+					-- also don't delete empty profiles on main dbs, only on namespaces
+					if section ~= "global" and (section ~= "profiles" or rawget(db, "parent")) then
+						for key in pairs(sv[section]) do
+							if not next(sv[section][key]) then
+								sv[section][key] = nil
+							end
+						end
+					end
+					if not next(sv[section]) then
+						sv[section] = nil
+					end
+				end
+			end
+		end
+	end
+end
+
+AceDB.frame:RegisterEvent("PLAYER_LOGOUT")
+AceDB.frame:SetScript("OnEvent", logoutHandler)
+
+
+--[[-------------------------------------------------------------------------
+	AceDB Object Method Definitions
+---------------------------------------------------------------------------]]
+
+--- Sets the defaults table for the given database object by clearing any
+-- that are currently set, and then setting the new defaults.
+-- @param defaults A table of defaults for this database
+function DBObjectLib:RegisterDefaults(defaults)
+	if defaults and type(defaults) ~= "table" then
+		error("Usage: AceDBObject:RegisterDefaults(defaults): 'defaults' - table or nil expected.", 2)
+	end
+
+	validateDefaults(defaults, self.keys)
+
+	-- Remove any currently set defaults
+	if self.defaults then
+		for section,key in pairs(self.keys) do
+			if self.defaults[section] and rawget(self, section) then
+				removeDefaults(self[section], self.defaults[section])
+			end
+		end
+	end
+
+	-- Set the DBObject.defaults table
+	self.defaults = defaults
+
+	-- Copy in any defaults, only touching those sections already created
+	if defaults then
+		for section,key in pairs(self.keys) do
+			if defaults[section] and rawget(self, section) then
+				copyDefaults(self[section], defaults[section])
+			end
+		end
+	end
+end
+
+--- Changes the profile of the database and all of it's namespaces to the
+-- supplied named profile
+-- @param name The name of the profile to set as the current profile
+function DBObjectLib:SetProfile(name)
+	if type(name) ~= "string" then
+		error("Usage: AceDBObject:SetProfile(name): 'name' - string expected.", 2)
+	end
+
+	-- changing to the same profile, dont do anything
+	if name == self.keys.profile then return end
+
+	local oldProfile = self.profile
+	local defaults = self.defaults and self.defaults.profile
+
+	-- Callback: OnProfileShutdown, database
+	self.callbacks:Fire("OnProfileShutdown", self)
+
+	if oldProfile and defaults then
+		-- Remove the defaults from the old profile
+		removeDefaults(oldProfile, defaults)
+	end
+
+	self.profile = nil
+	self.keys["profile"] = name
+
+	-- if the storage exists, save the new profile
+	-- this won't exist on namespaces.
+	if self.sv.profileKeys then
+		self.sv.profileKeys[charKey] = name
+	end
+
+	-- populate to child namespaces
+	if self.children then
+		for _, db in pairs(self.children) do
+			DBObjectLib.SetProfile(db, name)
+		end
+	end
+
+	-- Callback: OnProfileChanged, database, newProfileKey
+	self.callbacks:Fire("OnProfileChanged", self, name)
+end
+
+--- Returns a table with the names of the existing profiles in the database.
+-- You can optionally supply a table to re-use for this purpose.
+-- @param tbl A table to store the profile names in (optional)
+function DBObjectLib:GetProfiles(tbl)
+	if tbl and type(tbl) ~= "table" then
+		error("Usage: AceDBObject:GetProfiles(tbl): 'tbl' - table or nil expected.", 2)
+	end
+
+	-- Clear the container table
+	if tbl then
+		for k,v in pairs(tbl) do tbl[k] = nil end
+	else
+		tbl = {}
+	end
+
+	local curProfile = self.keys.profile
+
+	local i = 0
+	for profileKey in pairs(self.profiles) do
+		i = i + 1
+		tbl[i] = profileKey
+		if curProfile and profileKey == curProfile then curProfile = nil end
+	end
+
+	-- Add the current profile, if it hasn't been created yet
+	if curProfile then
+		i = i + 1
+		tbl[i] = curProfile
+	end
+
+	return tbl, i
+end
+
+--- Returns the current profile name used by the database
+function DBObjectLib:GetCurrentProfile()
+	return self.keys.profile
+end
+
+--- Deletes a named profile.  This profile must not be the active profile.
+-- @param name The name of the profile to be deleted
+-- @param silent If true, do not raise an error when the profile does not exist
+function DBObjectLib:DeleteProfile(name, silent)
+	if type(name) ~= "string" then
+		error("Usage: AceDBObject:DeleteProfile(name): 'name' - string expected.", 2)
+	end
+
+	if self.keys.profile == name then
+		error("Cannot delete the active profile in an AceDBObject.", 2)
+	end
+
+	if not rawget(self.profiles, name) and not silent then
+		error("Cannot delete profile '" .. name .. "'. It does not exist.", 2)
+	end
+
+	self.profiles[name] = nil
+
+	-- populate to child namespaces
+	if self.children then
+		for _, db in pairs(self.children) do
+			DBObjectLib.DeleteProfile(db, name, true)
+		end
+	end
+
+	-- Callback: OnProfileDeleted, database, profileKey
+	self.callbacks:Fire("OnProfileDeleted", self, name)
+end
+
+--- Copies a named profile into the current profile, overwriting any conflicting
+-- settings.
+-- @param name The name of the profile to be copied into the current profile
+-- @param silent If true, do not raise an error when the profile does not exist
+function DBObjectLib:CopyProfile(name, silent)
+	if type(name) ~= "string" then
+		error("Usage: AceDBObject:CopyProfile(name): 'name' - string expected.", 2)
+	end
+
+	if name == self.keys.profile then
+		error("Cannot have the same source and destination profiles.", 2)
+	end
+
+	if not rawget(self.profiles, name) and not silent then
+		error("Cannot copy profile '" .. name .. "'. It does not exist.", 2)
+	end
+
+	-- Reset the profile before copying
+	DBObjectLib.ResetProfile(self, nil, true)
+
+	local profile = self.profile
+	local source = self.profiles[name]
+
+	copyTable(source, profile)
+
+	-- populate to child namespaces
+	if self.children then
+		for _, db in pairs(self.children) do
+			DBObjectLib.CopyProfile(db, name, true)
+		end
+	end
+
+	-- Callback: OnProfileCopied, database, sourceProfileKey
+	self.callbacks:Fire("OnProfileCopied", self, name)
+end
+
+--- Resets the current profile to the default values (if specified).
+-- @param noChildren if set to true, the reset will not be populated to the child namespaces of this DB object
+-- @param noCallbacks if set to true, won't fire the OnProfileReset callback
+function DBObjectLib:ResetProfile(noChildren, noCallbacks)
+	local profile = self.profile
+
+	for k,v in pairs(profile) do
+		profile[k] = nil
+	end
+
+	local defaults = self.defaults and self.defaults.profile
+	if defaults then
+		copyDefaults(profile, defaults)
+	end
+
+	-- populate to child namespaces
+	if self.children and not noChildren then
+		for _, db in pairs(self.children) do
+			DBObjectLib.ResetProfile(db, nil, noCallbacks)
+		end
+	end
+
+	-- Callback: OnProfileReset, database
+	if not noCallbacks then
+		self.callbacks:Fire("OnProfileReset", self)
+	end
+end
+
+--- Resets the entire database, using the string defaultProfile as the new default
+-- profile.
+-- @param defaultProfile The profile name to use as the default
+function DBObjectLib:ResetDB(defaultProfile)
+	if defaultProfile and type(defaultProfile) ~= "string" then
+		error("Usage: AceDBObject:ResetDB(defaultProfile): 'defaultProfile' - string or nil expected.", 2)
+	end
+
+	local sv = self.sv
+	for k,v in pairs(sv) do
+		sv[k] = nil
+	end
+
+	local parent = self.parent
+
+	initdb(sv, self.defaults, defaultProfile, self)
+
+	-- fix the child namespaces
+	if self.children then
+		if not sv.namespaces then sv.namespaces = {} end
+		for name, db in pairs(self.children) do
+			if not sv.namespaces[name] then sv.namespaces[name] = {} end
+			initdb(sv.namespaces[name], db.defaults, self.keys.profile, db, self)
+		end
+	end
+
+	-- Callback: OnDatabaseReset, database
+	self.callbacks:Fire("OnDatabaseReset", self)
+	-- Callback: OnProfileChanged, database, profileKey
+	self.callbacks:Fire("OnProfileChanged", self, self.keys["profile"])
+
+	return self
+end
+
+--- Creates a new database namespace, directly tied to the database.  This
+-- is a full scale database in it's own rights other than the fact that
+-- it cannot control its profile individually
+-- @param name The name of the new namespace
+-- @param defaults A table of values to use as defaults
+function DBObjectLib:RegisterNamespace(name, defaults)
+	if type(name) ~= "string" then
+		error("Usage: AceDBObject:RegisterNamespace(name, defaults): 'name' - string expected.", 2)
+	end
+	if defaults and type(defaults) ~= "table" then
+		error("Usage: AceDBObject:RegisterNamespace(name, defaults): 'defaults' - table or nil expected.", 2)
+	end
+	if self.children and self.children[name] then
+		error ("Usage: AceDBObject:RegisterNamespace(name, defaults): 'name' - a namespace with that name already exists.", 2)
+	end
+
+	local sv = self.sv
+	if not sv.namespaces then sv.namespaces = {} end
+	if not sv.namespaces[name] then
+		sv.namespaces[name] = {}
+	end
+
+	local newDB = initdb(sv.namespaces[name], defaults, self.keys.profile, nil, self)
+
+	if not self.children then self.children = {} end
+	self.children[name] = newDB
+	return newDB
+end
+
+--- Returns an already existing namespace from the database object.
+-- @param name The name of the new namespace
+-- @param silent if true, the addon is optional, silently return nil if its not found
+-- @usage
+-- local namespace = self.db:GetNamespace('namespace')
+-- @return the namespace object if found
+function DBObjectLib:GetNamespace(name, silent)
+	if type(name) ~= "string" then
+		error("Usage: AceDBObject:GetNamespace(name): 'name' - string expected.", 2)
+	end
+	if not silent and not (self.children and self.children[name]) then
+		error ("Usage: AceDBObject:GetNamespace(name): 'name' - namespace does not exist.", 2)
+	end
+	if not self.children then self.children = {} end
+	return self.children[name]
+end
+
+--[[-------------------------------------------------------------------------
+	AceDB Exposed Methods
+---------------------------------------------------------------------------]]
+
+--- Creates a new database object that can be used to handle database settings and profiles.
+-- By default, an empty DB is created, using a character specific profile.
+--
+-- You can override the default profile used by passing any profile name as the third argument,
+-- or by passing //true// as the third argument to use a globally shared profile called "Default".
+--
+-- Note that there is no token replacement in the default profile name, passing a defaultProfile as "char"
+-- will use a profile named "char", and not a character-specific profile.
+-- @param tbl The name of variable, or table to use for the database
+-- @param defaults A table of database defaults
+-- @param defaultProfile The name of the default profile. If not set, a character specific profile will be used as the default.
+-- You can also pass //true// to use a shared global profile called "Default".
+-- @usage
+-- -- Create an empty DB using a character-specific default profile.
+-- self.db = LibStub("AceDB-3.0"):New("MyAddonDB")
+-- @usage
+-- -- Create a DB using defaults and using a shared default profile
+-- self.db = LibStub("AceDB-3.0"):New("MyAddonDB", defaults, true)
+function AceDB:New(tbl, defaults, defaultProfile)
+	if type(tbl) == "string" then
+		local name = tbl
+		tbl = _G[name]
+		if not tbl then
+			tbl = {}
+			_G[name] = tbl
+		end
+	end
+
+	if type(tbl) ~= "table" then
+		error("Usage: AceDB:New(tbl, defaults, defaultProfile): 'tbl' - table expected.", 2)
+	end
+
+	if defaults and type(defaults) ~= "table" then
+		error("Usage: AceDB:New(tbl, defaults, defaultProfile): 'defaults' - table expected.", 2)
+	end
+
+	if defaultProfile and type(defaultProfile) ~= "string" and defaultProfile ~= true then
+		error("Usage: AceDB:New(tbl, defaults, defaultProfile): 'defaultProfile' - string or true expected.", 2)
+	end
+
+	return initdb(tbl, defaults, defaultProfile)
+end
+
+-- upgrade existing databases
+for db in pairs(AceDB.db_registry) do
+	if not db.parent then
+		for name,func in pairs(DBObjectLib) do
+			db[name] = func
+		end
+	else
+		db.RegisterDefaults = DBObjectLib.RegisterDefaults
+		db.ResetProfile = DBObjectLib.ResetProfile
+	end
+end
diff --git a/Libs/AceDB-3.0/AceDB-3.0.xml b/Libs/AceDB-3.0/AceDB-3.0.xml
new file mode 100644
index 0000000..46b20ba
--- /dev/null
+++ b/Libs/AceDB-3.0/AceDB-3.0.xml
@@ -0,0 +1,4 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+..\FrameXML\UI.xsd">
+	<Script file="AceDB-3.0.lua"/>
+</Ui>
\ No newline at end of file
diff --git a/Libs/AceEvent-3.0/AceEvent-3.0.lua b/Libs/AceEvent-3.0/AceEvent-3.0.lua
new file mode 100644
index 0000000..578ae25
--- /dev/null
+++ b/Libs/AceEvent-3.0/AceEvent-3.0.lua
@@ -0,0 +1,126 @@
+--- AceEvent-3.0 provides event registration and secure dispatching.
+-- All dispatching is done using **CallbackHandler-1.0**. AceEvent is a simple wrapper around
+-- CallbackHandler, and dispatches all game events or addon message to the registrees.
+--
+-- **AceEvent-3.0** can be embeded into your addon, either explicitly by calling AceEvent:Embed(MyAddon) or by
+-- specifying it as an embeded library in your AceAddon. All functions will be available on your addon object
+-- and can be accessed directly, without having to explicitly call AceEvent itself.\\
+-- It is recommended to embed AceEvent, otherwise you'll have to specify a custom `self` on all calls you
+-- make into AceEvent.
+-- @class file
+-- @name AceEvent-3.0
+-- @release $Id: AceEvent-3.0.lua 975 2010-10-23 11:26:18Z nevcairiel $
+local MAJOR, MINOR = "AceEvent-3.0", 3
+local AceEvent = LibStub:NewLibrary(MAJOR, MINOR)
+
+if not AceEvent then return end
+
+-- Lua APIs
+local pairs = pairs
+
+local CallbackHandler = LibStub:GetLibrary("CallbackHandler-1.0")
+
+AceEvent.frame = AceEvent.frame or CreateFrame("Frame", "AceEvent30Frame") -- our event frame
+AceEvent.embeds = AceEvent.embeds or {} -- what objects embed this lib
+
+-- APIs and registry for blizzard events, using CallbackHandler lib
+if not AceEvent.events then
+	AceEvent.events = CallbackHandler:New(AceEvent,
+		"RegisterEvent", "UnregisterEvent", "UnregisterAllEvents")
+end
+
+function AceEvent.events:OnUsed(target, eventname)
+	AceEvent.frame:RegisterEvent(eventname)
+end
+
+function AceEvent.events:OnUnused(target, eventname)
+	AceEvent.frame:UnregisterEvent(eventname)
+end
+
+
+-- APIs and registry for IPC messages, using CallbackHandler lib
+if not AceEvent.messages then
+	AceEvent.messages = CallbackHandler:New(AceEvent,
+		"RegisterMessage", "UnregisterMessage", "UnregisterAllMessages"
+	)
+	AceEvent.SendMessage = AceEvent.messages.Fire
+end
+
+--- embedding and embed handling
+local mixins = {
+	"RegisterEvent", "UnregisterEvent",
+	"RegisterMessage", "UnregisterMessage",
+	"SendMessage",
+	"UnregisterAllEvents", "UnregisterAllMessages",
+}
+
+--- Register for a Blizzard Event.
+-- The callback will be called with the optional `arg` as the first argument (if supplied), and the event name as the second (or first, if no arg was supplied)
+-- Any arguments to the event will be passed on after that.
+-- @name AceEvent:RegisterEvent
+-- @class function
+-- @paramsig event[, callback [, arg]]
+-- @param event The event to register for
+-- @param callback The callback function to call when the event is triggered (funcref or method, defaults to a method with the event name)
+-- @param arg An optional argument to pass to the callback function
+
+--- Unregister an event.
+-- @name AceEvent:UnregisterEvent
+-- @class function
+-- @paramsig event
+-- @param event The event to unregister
+
+--- Register for a custom AceEvent-internal message.
+-- The callback will be called with the optional `arg` as the first argument (if supplied), and the event name as the second (or first, if no arg was supplied)
+-- Any arguments to the event will be passed on after that.
+-- @name AceEvent:RegisterMessage
+-- @class function
+-- @paramsig message[, callback [, arg]]
+-- @param message The message to register for
+-- @param callback The callback function to call when the message is triggered (funcref or method, defaults to a method with the event name)
+-- @param arg An optional argument to pass to the callback function
+
+--- Unregister a message
+-- @name AceEvent:UnregisterMessage
+-- @class function
+-- @paramsig message
+-- @param message The message to unregister
+
+--- Send a message over the AceEvent-3.0 internal message system to other addons registered for this message.
+-- @name AceEvent:SendMessage
+-- @class function
+-- @paramsig message, ...
+-- @param message The message to send
+-- @param ... Any arguments to the message
+
+
+-- Embeds AceEvent into the target object making the functions from the mixins list available on target:..
+-- @param target target object to embed AceEvent in
+function AceEvent:Embed(target)
+	for k, v in pairs(mixins) do
+		target[v] = self[v]
+	end
+	self.embeds[target] = true
+	return target
+end
+
+-- AceEvent:OnEmbedDisable( target )
+-- target (object) - target object that is being disabled
+--
+-- Unregister all events messages etc when the target disables.
+-- this method should be called by the target manually or by an addon framework
+function AceEvent:OnEmbedDisable(target)
+	target:UnregisterAllEvents()
+	target:UnregisterAllMessages()
+end
+
+-- Script to fire blizzard events into the event listeners
+local events = AceEvent.events
+AceEvent.frame:SetScript("OnEvent", function(this, event, ...)
+	events:Fire(event, ...)
+end)
+
+--- Finally: upgrade our old embeds
+for target, v in pairs(AceEvent.embeds) do
+	AceEvent:Embed(target)
+end
diff --git a/Libs/AceEvent-3.0/AceEvent-3.0.xml b/Libs/AceEvent-3.0/AceEvent-3.0.xml
new file mode 100644
index 0000000..313ef4d
--- /dev/null
+++ b/Libs/AceEvent-3.0/AceEvent-3.0.xml
@@ -0,0 +1,4 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+..\FrameXML\UI.xsd">
+	<Script file="AceEvent-3.0.lua"/>
+</Ui>
\ No newline at end of file
diff --git a/Libs/AceLocale-3.0/AceLocale-3.0.lua b/Libs/AceLocale-3.0/AceLocale-3.0.lua
new file mode 100644
index 0000000..ddd7de5
--- /dev/null
+++ b/Libs/AceLocale-3.0/AceLocale-3.0.lua
@@ -0,0 +1,137 @@
+--- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings.
+-- @class file
+-- @name AceLocale-3.0
+-- @release $Id: AceLocale-3.0.lua 1005 2011-01-29 14:19:43Z mikk $
+local MAJOR,MINOR = "AceLocale-3.0", 5
+
+local AceLocale, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
+
+if not AceLocale then return end -- no upgrade needed
+
+-- Lua APIs
+local assert, tostring, error = assert, tostring, error
+local setmetatable, rawset, rawget = setmetatable, rawset, rawget
+
+-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
+-- List them here for Mikk's FindGlobals script
+-- GLOBALS: GAME_LOCALE, geterrorhandler
+
+local gameLocale = GetLocale()
+if gameLocale == "enGB" then
+	gameLocale = "enUS"
+end
+
+AceLocale.apps = AceLocale.apps or {}          -- array of ["AppName"]=localetableref
+AceLocale.appnames = AceLocale.appnames or {}  -- array of [localetableref]="AppName"
+
+-- This metatable is used on all tables returned from GetLocale
+local readmeta = {
+	__index = function(self, key) -- requesting totally unknown entries: fire off a nonbreaking error and return key
+		rawset(self, key, key)      -- only need to see the warning once, really
+		geterrorhandler()(MAJOR..": "..tostring(AceLocale.appnames[self])..": Missing entry for '"..tostring(key).."'")
+		return key
+	end
+}
+
+-- This metatable is used on all tables returned from GetLocale if the silent flag is true, it does not issue a warning on unknown keys
+local readmetasilent = {
+	__index = function(self, key) -- requesting totally unknown entries: return key
+		rawset(self, key, key)      -- only need to invoke this function once
+		return key
+	end
+}
+
+-- Remember the locale table being registered right now (it gets set by :NewLocale())
+-- NOTE: Do never try to register 2 locale tables at once and mix their definition.
+local registering
+
+-- local assert false function
+local assertfalse = function() assert(false) end
+
+-- This metatable proxy is used when registering nondefault locales
+local writeproxy = setmetatable({}, {
+	__newindex = function(self, key, value)
+		rawset(registering, key, value == true and key or value) -- assigning values: replace 'true' with key string
+	end,
+	__index = assertfalse
+})
+
+-- This metatable proxy is used when registering the default locale.
+-- It refuses to overwrite existing values
+-- Reason 1: Allows loading locales in any order
+-- Reason 2: If 2 modules have the same string, but only the first one to be
+--           loaded has a translation for the current locale, the translation
+--           doesn't get overwritten.
+--
+local writedefaultproxy = setmetatable({}, {
+	__newindex = function(self, key, value)
+		if not rawget(registering, key) then
+			rawset(registering, key, value == true and key or value)
+		end
+	end,
+	__index = assertfalse
+})
+
+--- Register a new locale (or extend an existing one) for the specified application.
+-- :NewLocale will return a table you can fill your locale into, or nil if the locale isn't needed for the players
+-- game locale.
+-- @paramsig application, locale[, isDefault[, silent]]
+-- @param application Unique name of addon / module
+-- @param locale Name of the locale to register, e.g. "enUS", "deDE", etc.
+-- @param isDefault If this is the default locale being registered (your addon is written in this language, generally enUS)
+-- @param silent If true, the locale will not issue warnings for missing keys. Must be set on the first locale registered. If set to "raw", nils will be returned for unknown keys (no metatable used).
+-- @usage
+-- -- enUS.lua
+-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "enUS", true)
+-- L["string1"] = true
+--
+-- -- deDE.lua
+-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "deDE")
+-- if not L then return end
+-- L["string1"] = "Zeichenkette1"
+-- @return Locale Table to add localizations to, or nil if the current locale is not required.
+function AceLocale:NewLocale(application, locale, isDefault, silent)
+
+	-- GAME_LOCALE allows translators to test translations of addons without having that wow client installed
+	local gameLocale = GAME_LOCALE or gameLocale
+
+	local app = AceLocale.apps[application]
+
+	if silent and app then
+		geterrorhandler()("Usage: NewLocale(application, locale[, isDefault[, silent]]): 'silent' must be specified for the first locale registered")
+	end
+
+	if not app then
+		if silent=="raw" then
+			app = {}
+		else
+			app = setmetatable({}, silent and readmetasilent or readmeta)
+		end
+		AceLocale.apps[application] = app
+		AceLocale.appnames[app] = application
+	end
+
+	if locale ~= gameLocale and not isDefault then
+		return -- nop, we don't need these translations
+	end
+
+	registering = app -- remember globally for writeproxy and writedefaultproxy
+
+	if isDefault then
+		return writedefaultproxy
+	end
+
+	return writeproxy
+end
+
+--- Returns localizations for the current locale (or default locale if translations are missing).
+-- Errors if nothing is registered (spank developer, not just a missing translation)
+-- @param application Unique name of addon / module
+-- @param silent If true, the locale is optional, silently return nil if it's not found (defaults to false, optional)
+-- @return The locale table for the current language.
+function AceLocale:GetLocale(application, silent)
+	if not silent and not AceLocale.apps[application] then
+		error("Usage: GetLocale(application[, silent]): 'application' - No locales registered for '"..tostring(application).."'", 2)
+	end
+	return AceLocale.apps[application]
+end
diff --git a/Libs/AceLocale-3.0/AceLocale-3.0.xml b/Libs/AceLocale-3.0/AceLocale-3.0.xml
new file mode 100644
index 0000000..e017af0
--- /dev/null
+++ b/Libs/AceLocale-3.0/AceLocale-3.0.xml
@@ -0,0 +1,4 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+..\FrameXML\UI.xsd">
+	<Script file="AceLocale-3.0.lua"/>
+</Ui>
\ No newline at end of file
diff --git a/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
new file mode 100644
index 0000000..a127301
--- /dev/null
+++ b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
@@ -0,0 +1,240 @@
+--[[ $Id: CallbackHandler-1.0.lua 965 2010-08-09 00:47:52Z mikk $ ]]
+local MAJOR, MINOR = "CallbackHandler-1.0", 6
+local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)
+
+if not CallbackHandler then return end -- No upgrade needed
+
+local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end}
+
+-- Lua APIs
+local tconcat = table.concat
+local assert, error, loadstring = assert, error, loadstring
+local setmetatable, rawset, rawget = setmetatable, rawset, rawget
+local next, select, pairs, type, tostring = next, select, pairs, type, tostring
+
+-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
+-- List them here for Mikk's FindGlobals script
+-- GLOBALS: geterrorhandler
+
+local xpcall = xpcall
+
+local function errorhandler(err)
+	return geterrorhandler()(err)
+end
+
+local function CreateDispatcher(argCount)
+	local code = [[
+	local next, xpcall, eh = ...
+
+	local method, ARGS
+	local function call() method(ARGS) end
+
+	local function dispatch(handlers, ...)
+		local index
+		index, method = next(handlers)
+		if not method then return end
+		local OLD_ARGS = ARGS
+		ARGS = ...
+		repeat
+			xpcall(call, eh)
+			index, method = next(handlers, index)
+		until not method
+		ARGS = OLD_ARGS
+	end
+
+	return dispatch
+	]]
+
+	local ARGS, OLD_ARGS = {}, {}
+	for i = 1, argCount do ARGS[i], OLD_ARGS[i] = "arg"..i, "old_arg"..i end
+	code = code:gsub("OLD_ARGS", tconcat(OLD_ARGS, ", ")):gsub("ARGS", tconcat(ARGS, ", "))
+	return assert(loadstring(code, "safecall Dispatcher["..argCount.."]"))(next, xpcall, errorhandler)
+end
+
+local Dispatchers = setmetatable({}, {__index=function(self, argCount)
+	local dispatcher = CreateDispatcher(argCount)
+	rawset(self, argCount, dispatcher)
+	return dispatcher
+end})
+
+--------------------------------------------------------------------------
+-- CallbackHandler:New
+--
+--   target            - target object to embed public APIs in
+--   RegisterName      - name of the callback registration API, default "RegisterCallback"
+--   UnregisterName    - name of the callback unregistration API, default "UnregisterCallback"
+--   UnregisterAllName - name of the API to unregister all callbacks, default "UnregisterAllCallbacks". false == don't publish this API.
+
+function CallbackHandler:New(target, RegisterName, UnregisterName, UnregisterAllName, OnUsed, OnUnused)
+	-- TODO: Remove this after beta has gone out
+	assert(not OnUsed and not OnUnused, "ACE-80: OnUsed/OnUnused are deprecated. Callbacks are now done to registry.OnUsed and registry.OnUnused")
+
+	RegisterName = RegisterName or "RegisterCallback"
+	UnregisterName = UnregisterName or "UnregisterCallback"
+	if UnregisterAllName==nil then	-- false is used to indicate "don't want this method"
+		UnregisterAllName = "UnregisterAllCallbacks"
+	end
+
+	-- we declare all objects and exported APIs inside this closure to quickly gain access
+	-- to e.g. function names, the "target" parameter, etc
+
+
+	-- Create the registry object
+	local events = setmetatable({}, meta)
+	local registry = { recurse=0, events=events }
+
+	-- registry:Fire() - fires the given event/message into the registry
+	function registry:Fire(eventname, ...)
+		if not rawget(events, eventname) or not next(events[eventname]) then return end
+		local oldrecurse = registry.recurse
+		registry.recurse = oldrecurse + 1
+
+		Dispatchers[select('#', ...) + 1](events[eventname], eventname, ...)
+
+		registry.recurse = oldrecurse
+
+		if registry.insertQueue and oldrecurse==0 then
+			-- Something in one of our callbacks wanted to register more callbacks; they got queued
+			for eventname,callbacks in pairs(registry.insertQueue) do
+				local first = not rawget(events, eventname) or not next(events[eventname])	-- test for empty before. not test for one member after. that one member may have been overwritten.
+				for self,func in pairs(callbacks) do
+					events[eventname][self] = func
+					-- fire OnUsed callback?
+					if first and registry.OnUsed then
+						registry.OnUsed(registry, target, eventname)
+						first = nil
+					end
+				end
+			end
+			registry.insertQueue = nil
+		end
+	end
+
+	-- Registration of a callback, handles:
+	--   self["method"], leads to self["method"](self, ...)
+	--   self with function ref, leads to functionref(...)
+	--   "addonId" (instead of self) with function ref, leads to functionref(...)
+	-- all with an optional arg, which, if present, gets passed as first argument (after self if present)
+	target[RegisterName] = function(self, eventname, method, ... --[[actually just a single arg]])
+		if type(eventname) ~= "string" then
+			error("Usage: "..RegisterName.."(eventname, method[, arg]): 'eventname' - string expected.", 2)
+		end
+
+		method = method or eventname
+
+		local first = not rawget(events, eventname) or not next(events[eventname])	-- test for empty before. not test for one member after. that one member may have been overwritten.
+
+		if type(method) ~= "string" and type(method) ~= "function" then
+			error("Usage: "..RegisterName.."(\"eventname\", \"methodname\"): 'methodname' - string or function expected.", 2)
+		end
+
+		local regfunc
+
+		if type(method) == "string" then
+			-- self["method"] calling style
+			if type(self) ~= "table" then
+				error("Usage: "..RegisterName.."(\"eventname\", \"methodname\"): self was not a table?", 2)
+			elseif self==target then
+				error("Usage: "..RegisterName.."(\"eventname\", \"methodname\"): do not use Library:"..RegisterName.."(), use your own 'self'", 2)
+			elseif type(self[method]) ~= "function" then
+				error("Usage: "..RegisterName.."(\"eventname\", \"methodname\"): 'methodname' - method '"..tostring(method).."' not found on self.", 2)
+			end
+
+			if select("#",...)>=1 then	-- this is not the same as testing for arg==nil!
+				local arg=select(1,...)
+				regfunc = function(...) self[method](self,arg,...) end
+			else
+				regfunc = function(...) self[method](self,...) end
+			end
+		else
+			-- function ref with self=object or self="addonId" or self=thread
+			if type(self)~="table" and type(self)~="string" and type(self)~="thread" then
+				error("Usage: "..RegisterName.."(self or \"addonId\", eventname, method): 'self or addonId': table or string or thread expected.", 2)
+			end
+
+			if select("#",...)>=1 then	-- this is not the same as testing for arg==nil!
+				local arg=select(1,...)
+				regfunc = function(...) method(arg,...) end
+			else
+				regfunc = method
+			end
+		end
+
+
+		if events[eventname][self] or registry.recurse<1 then
+		-- if registry.recurse<1 then
+			-- we're overwriting an existing entry, or not currently recursing. just set it.
+			events[eventname][self] = regfunc
+			-- fire OnUsed callback?
+			if registry.OnUsed and first then
+				registry.OnUsed(registry, target, eventname)
+			end
+		else
+			-- we're currently processing a callback in this registry, so delay the registration of this new entry!
+			-- yes, we're a bit wasteful on garbage, but this is a fringe case, so we're picking low implementation overhead over garbage efficiency
+			registry.insertQueue = registry.insertQueue or setmetatable({},meta)
+			registry.insertQueue[eventname][self] = regfunc
+		end
+	end
+
+	-- Unregister a callback
+	target[UnregisterName] = function(self, eventname)
+		if not self or self==target then
+			error("Usage: "..UnregisterName.."(eventname): bad 'self'", 2)
+		end
+		if type(eventname) ~= "string" then
+			error("Usage: "..UnregisterName.."(eventname): 'eventname' - string expected.", 2)
+		end
+		if rawget(events, eventname) and events[eventname][self] then
+			events[eventname][self] = nil
+			-- Fire OnUnused callback?
+			if registry.OnUnused and not next(events[eventname]) then
+				registry.OnUnused(registry, target, eventname)
+			end
+		end
+		if registry.insertQueue and rawget(registry.insertQueue, eventname) and registry.insertQueue[eventname][self] then
+			registry.insertQueue[eventname][self] = nil
+		end
+	end
+
+	-- OPTIONAL: Unregister all callbacks for given selfs/addonIds
+	if UnregisterAllName then
+		target[UnregisterAllName] = function(...)
+			if select("#",...)<1 then
+				error("Usage: "..UnregisterAllName.."([whatFor]): missing 'self' or \"addonId\" to unregister events for.", 2)
+			end
+			if select("#",...)==1 and ...==target then
+				error("Usage: "..UnregisterAllName.."([whatFor]): supply a meaningful 'self' or \"addonId\"", 2)
+			end
+
+
+			for i=1,select("#",...) do
+				local self = select(i,...)
+				if registry.insertQueue then
+					for eventname, callbacks in pairs(registry.insertQueue) do
+						if callbacks[self] then
+							callbacks[self] = nil
+						end
+					end
+				end
+				for eventname, callbacks in pairs(events) do
+					if callbacks[self] then
+						callbacks[self] = nil
+						-- Fire OnUnused callback?
+						if registry.OnUnused and not next(callbacks) then
+							registry.OnUnused(registry, target, eventname)
+						end
+					end
+				end
+			end
+		end
+	end
+
+	return registry
+end
+
+
+-- CallbackHandler purposefully does NOT do explicit embedding. Nor does it
+-- try to upgrade old implicit embeds since the system is selfcontained and
+-- relies on closures to work.
+
diff --git a/Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml
new file mode 100644
index 0000000..876df83
--- /dev/null
+++ b/Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml
@@ -0,0 +1,4 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+..\FrameXML\UI.xsd">
+	<Script file="CallbackHandler-1.0.lua"/>
+</Ui>
\ No newline at end of file
diff --git a/Libs/LibStub/LibStub.lua b/Libs/LibStub/LibStub.lua
new file mode 100644
index 0000000..0a41ac0
--- /dev/null
+++ b/Libs/LibStub/LibStub.lua
@@ -0,0 +1,30 @@
+-- LibStub is a simple versioning stub meant for use in Libraries.  http://www.wowace.com/wiki/LibStub for more info
+-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
+local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2  -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
+local LibStub = _G[LIBSTUB_MAJOR]
+
+if not LibStub or LibStub.minor < LIBSTUB_MINOR then
+	LibStub = LibStub or {libs = {}, minors = {} }
+	_G[LIBSTUB_MAJOR] = LibStub
+	LibStub.minor = LIBSTUB_MINOR
+
+	function LibStub:NewLibrary(major, minor)
+		assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)")
+		minor = assert(tonumber(strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.")
+
+		local oldminor = self.minors[major]
+		if oldminor and oldminor >= minor then return nil end
+		self.minors[major], self.libs[major] = minor, self.libs[major] or {}
+		return self.libs[major], oldminor
+	end
+
+	function LibStub:GetLibrary(major, silent)
+		if not self.libs[major] and not silent then
+			error(("Cannot find a library instance of %q."):format(tostring(major)), 2)
+		end
+		return self.libs[major], self.minors[major]
+	end
+
+	function LibStub:IterateLibraries() return pairs(self.libs) end
+	setmetatable(LibStub, { __call = LibStub.GetLibrary })
+end
diff --git a/Libs/UTF8/utf8.lua b/Libs/UTF8/utf8.lua
new file mode 100644
index 0000000..0b4576b
--- /dev/null
+++ b/Libs/UTF8/utf8.lua
@@ -0,0 +1,327 @@
+-- $Id: utf8.lua 184 2008-10-09 21:54:37Z nevcairiel $
+--
+-- Provides UTF-8 aware string functions implemented in pure lua:
+-- * string.utf8len(s)
+-- * string.utf8sub(s, i, j)
+-- * string.utf8reverse(s)
+--
+-- If utf8data.lua (containing the lower<->upper case mappings) is loaded, these
+-- additional functions are available:
+-- * string.utf8upper(s)
+-- * string.utf8lower(s)
+--
+-- All functions behave as their non UTF-8 aware counterparts with the exception
+-- that UTF-8 characters are used instead of bytes for all units.
+
+--[[
+Copyright (c) 2006-2007, Kyle Smith
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the author nor the names of its contributors may be
+      used to endorse or promote products derived from this software without
+      specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+--]]
+
+-- ABNF from RFC 3629
+--
+-- UTF8-octets = *( UTF8-char )
+-- UTF8-char   = UTF8-1 / UTF8-2 / UTF8-3 / UTF8-4
+-- UTF8-1      = %x00-7F
+-- UTF8-2      = %xC2-DF UTF8-tail
+-- UTF8-3      = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) /
+--               %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail )
+-- UTF8-4      = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) /
+--               %xF4 %x80-8F 2( UTF8-tail )
+-- UTF8-tail   = %x80-BF
+--
+
+-- returns the number of bytes used by the UTF-8 character at byte i in s
+-- also doubles as a UTF-8 character validator
+local function utf8charbytes (s, i)
+	-- argument defaults
+	i = i or 1
+
+	-- argument checking
+	if type(s) ~= "string" then
+		error("bad argument #1 to 'utf8charbytes' (string expected, got ".. type(s).. ")")
+	end
+	if type(i) ~= "number" then
+		error("bad argument #2 to 'utf8charbytes' (number expected, got ".. type(i).. ")")
+	end
+
+	local c = s:byte(i)
+
+	-- determine bytes needed for character, based on RFC 3629
+	-- validate byte 1
+	if c > 0 and c <= 127 then
+		-- UTF8-1
+		return 1
+
+	elseif c >= 194 and c <= 223 then
+		-- UTF8-2
+		local c2 = s:byte(i + 1)
+
+		if not c2 then
+			error("UTF-8 string terminated early")
+		end
+
+		-- validate byte 2
+		if c2 < 128 or c2 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		return 2
+
+	elseif c >= 224 and c <= 239 then
+		-- UTF8-3
+		local c2 = s:byte(i + 1)
+		local c3 = s:byte(i + 2)
+
+		if not c2 or not c3 then
+			error("UTF-8 string terminated early")
+		end
+
+		-- validate byte 2
+		if c == 224 and (c2 < 160 or c2 > 191) then
+			error("Invalid UTF-8 character")
+		elseif c == 237 and (c2 < 128 or c2 > 159) then
+			error("Invalid UTF-8 character")
+		elseif c2 < 128 or c2 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		-- validate byte 3
+		if c3 < 128 or c3 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		return 3
+
+	elseif c >= 240 and c <= 244 then
+		-- UTF8-4
+		local c2 = s:byte(i + 1)
+		local c3 = s:byte(i + 2)
+		local c4 = s:byte(i + 3)
+
+		if not c2 or not c3 or not c4 then
+			error("UTF-8 string terminated early")
+		end
+
+		-- validate byte 2
+		if c == 240 and (c2 < 144 or c2 > 191) then
+			error("Invalid UTF-8 character")
+		elseif c == 244 and (c2 < 128 or c2 > 143) then
+			error("Invalid UTF-8 character")
+		elseif c2 < 128 or c2 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		-- validate byte 3
+		if c3 < 128 or c3 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		-- validate byte 4
+		if c4 < 128 or c4 > 191 then
+			error("Invalid UTF-8 character")
+		end
+
+		return 4
+
+	else
+		error("Invalid UTF-8 character")
+	end
+end
+
+
+-- returns the number of characters in a UTF-8 string
+local function utf8len (s)
+	-- argument checking
+	if type(s) ~= "string" then
+		error("bad argument #1 to 'utf8len' (string expected, got ".. type(s).. ")")
+	end
+
+	local pos = 1
+	local bytes = s:len()
+	local len = 0
+
+	while pos <= bytes and len ~= chars do
+		local c = s:byte(pos)
+		len = len + 1
+
+		pos = pos + utf8charbytes(s, pos)
+	end
+
+	if chars ~= nil then
+		return pos - 1
+	end
+
+	return len
+end
+
+-- install in the string library
+if not string.utf8len then
+	string.utf8len = utf8len
+end
+
+
+-- functions identically to string.sub except that i and j are UTF-8 characters
+-- instead of bytes
+local function utf8sub (s, i, j)
+	-- argument defaults
+	j = j or -1
+
+	-- argument checking
+	if type(s) ~= "string" then
+		error("bad argument #1 to 'utf8sub' (string expected, got ".. type(s).. ")")
+	end
+	if type(i) ~= "number" then
+		error("bad argument #2 to 'utf8sub' (number expected, got ".. type(i).. ")")
+	end
+	if type(j) ~= "number" then
+		error("bad argument #3 to 'utf8sub' (number expected, got ".. type(j).. ")")
+	end
+
+	local pos = 1
+	local bytes = s:len()
+	local len = 0
+
+	-- only set l if i or j is negative
+	local l = (i >= 0 and j >= 0) or s:utf8len()
+	local startChar = (i >= 0) and i or l + i + 1
+	local endChar   = (j >= 0) and j or l + j + 1
+
+	-- can't have start before end!
+	if startChar > endChar then
+		return ""
+	end
+
+	-- byte offsets to pass to string.sub
+	local startByte, endByte = 1, bytes
+
+	while pos <= bytes do
+		len = len + 1
+
+		if len == startChar then
+			startByte = pos
+		end
+
+		pos = pos + utf8charbytes(s, pos)
+
+		if len == endChar then
+			endByte = pos - 1
+			break
+		end
+	end
+
+	return s:sub(startByte, endByte)
+end
+
+-- install in the string library
+if not string.utf8sub then
+	string.utf8sub = utf8sub
+end
+
+
+-- replace UTF-8 characters based on a mapping table
+local function utf8replace (s, mapping)
+	-- argument checking
+	if type(s) ~= "string" then
+		error("bad argument #1 to 'utf8replace' (string expected, got ".. type(s).. ")")
+	end
+	if type(mapping) ~= "table" then
+		error("bad argument #2 to 'utf8replace' (table expected, got ".. type(mapping).. ")")
+	end
+
+	local pos = 1
+	local bytes = s:len()
+	local charbytes
+	local newstr = ""
+
+	while pos <= bytes do
+		charbytes = utf8charbytes(s, pos)
+		local c = s:sub(pos, pos + charbytes - 1)
+
+		newstr = newstr .. (mapping[c] or c)
+
+		pos = pos + charbytes
+	end
+
+	return newstr
+end
+
+
+-- identical to string.upper except it knows about unicode simple case conversions
+local function utf8upper (s)
+	return utf8replace(s, utf8_lc_uc)
+end
+
+-- install in the string library
+if not string.utf8upper and utf8_lc_uc then
+	string.utf8upper = utf8upper
+end
+
+
+-- identical to string.lower except it knows about unicode simple case conversions
+local function utf8lower (s)
+	return utf8replace(s, utf8_uc_lc)
+end
+
+-- install in the string library
+if not string.utf8lower and utf8_uc_lc then
+	string.utf8lower = utf8lower
+end
+
+
+-- identical to string.reverse except that it supports UTF-8
+local function utf8reverse (s)
+	-- argument checking
+	if type(s) ~= "string" then
+		error("bad argument #1 to 'utf8reverse' (string expected, got ".. type(s).. ")")
+	end
+
+	local bytes = s:len()
+	local pos = bytes
+	local charbytes
+	local newstr = ""
+
+	while pos > 0 do
+		c = s:byte(pos)
+		while c >= 128 and c <= 191 do
+			pos = pos - 1
+			c = s:byte(pos)
+		end
+
+		charbytes = utf8charbytes(s, pos)
+
+		newstr = newstr .. s:sub(pos, pos + charbytes - 1)
+
+		pos = pos - 1
+	end
+
+	return newstr
+end
+
+-- install in the string library
+if not string.utf8reverse then
+	string.utf8reverse = utf8reverse
+end
diff --git a/Libs/UTF8/utf8data.lua b/Libs/UTF8/utf8data.lua
new file mode 100644
index 0000000..655f719
--- /dev/null
+++ b/Libs/UTF8/utf8data.lua
@@ -0,0 +1,1860 @@
+utf8_lc_uc = {
+	["a"] = "A",
+	["b"] = "B",
+	["c"] = "C",
+	["d"] = "D",
+	["e"] = "E",
+	["f"] = "F",
+	["g"] = "G",
+	["h"] = "H",
+	["i"] = "I",
+	["j"] = "J",
+	["k"] = "K",
+	["l"] = "L",
+	["m"] = "M",
+	["n"] = "N",
+	["o"] = "O",
+	["p"] = "P",
+	["q"] = "Q",
+	["r"] = "R",
+	["s"] = "S",
+	["t"] = "T",
+	["u"] = "U",
+	["v"] = "V",
+	["w"] = "W",
+	["x"] = "X",
+	["y"] = "Y",
+	["z"] = "Z",
+	["µ"] = "Μ",
+	["à"] = "À",
+	["á"] = "Á",
+	["â"] = "Â",
+	["ã"] = "Ã",
+	["ä"] = "Ä",
+	["å"] = "Å",
+	["æ"] = "Æ",
+	["ç"] = "Ç",
+	["è"] = "È",
+	["é"] = "É",
+	["ê"] = "Ê",
+	["ë"] = "Ë",
+	["ì"] = "Ì",
+	["í"] = "Í",
+	["î"] = "Î",
+	["ï"] = "Ï",
+	["ð"] = "Ð",
+	["ñ"] = "Ñ",
+	["ò"] = "Ò",
+	["ó"] = "Ó",
+	["ô"] = "Ô",
+	["õ"] = "Õ",
+	["ö"] = "Ö",
+	["ø"] = "Ø",
+	["ù"] = "Ù",
+	["ú"] = "Ú",
+	["û"] = "Û",
+	["ü"] = "Ü",
+	["ý"] = "Ý",
+	["þ"] = "Þ",
+	["ÿ"] = "Ÿ",
+	["ā"] = "Ā",
+	["ă"] = "Ă",
+	["ą"] = "Ą",
+	["ć"] = "Ć",
+	["ĉ"] = "Ĉ",
+	["ċ"] = "Ċ",
+	["č"] = "Č",
+	["ď"] = "Ď",
+	["đ"] = "Đ",
+	["ē"] = "Ē",
+	["ĕ"] = "Ĕ",
+	["ė"] = "Ė",
+	["ę"] = "Ę",
+	["ě"] = "Ě",
+	["ĝ"] = "Ĝ",
+	["ğ"] = "Ğ",
+	["ġ"] = "Ġ",
+	["ģ"] = "Ģ",
+	["ĥ"] = "Ĥ",
+	["ħ"] = "Ħ",
+	["ĩ"] = "Ĩ",
+	["ī"] = "Ī",
+	["ĭ"] = "Ĭ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	["ϑ"] = "Θ",
+	["ϕ"] = "Φ",
+	["ϖ"] = "Π",
+	["ϙ"] = "Ϙ",
+	["ϛ"] = "Ϛ",
+	["ϝ"] = "Ϝ",
+	["ϟ"] = "Ϟ",
+	["ϡ"] = "Ϡ",
+	["ϣ"] = "Ϣ",
+	["ϥ"] = "Ϥ",
+	["ϧ"] = "Ϧ",
+	["ϩ"] = "Ϩ",
+	["ϫ"] = "Ϫ",
+	["ϭ"] = "Ϭ",
+	["ϯ"] = "Ϯ",
+	["ϰ"] = "Κ",
+	["ϱ"] = "Ρ",
+	["ϲ"] = "Ϲ",
+	["ϵ"] = "Ε",
+	["ϸ"] = "Ϸ",
+	["ϻ"] = "Ϻ",
+	["а"] = "А",
+	["б"] = "Б",
+	["в"] = "В",
+	["г"] = "Г",
+	["д"] = "Д",
+	["е"] = "Е",
+	["ж"] = "Ж",
+	["з"] = "З",
+	["и"] = "И",
+	["й"] = "Й",
+	["к"] = "К",
+	["л"] = "Л",
+	["м"] = "М",
+	["н"] = "Н",
+	["о"] = "О",
+	["п"] = "П",
+	["р"] = "Р",
+	["с"] = "С",
+	["т"] = "Т",
+	["у"] = "У",
+	["ф"] = "Ф",
+	["х"] = "Х",
+	["ц"] = "Ц",
+	["ч"] = "Ч",
+	["ш"] = "Ш",
+	["щ"] = "Щ",
+	["ъ"] = "Ъ",
+	["ы"] = "Ы",
+	["ь"] = "Ь",
+	["э"] = "Э",
+	["ю"] = "Ю",
+	["я"] = "Я",
+	["ѐ"] = "Ѐ",
+	["ё"] = "Ё",
+	["ђ"] = "Ђ",
+	["ѓ"] = "Ѓ",
+	["є"] = "Є",
+	["ѕ"] = "Ѕ",
+	["і"] = "І",
+	["ї"] = "Ї",
+	["ј"] = "Ј",
+	["љ"] = "Љ",
+	["њ"] = "Њ",
+	["ћ"] = "Ћ",
+	["ќ"] = "Ќ",
+	["ѝ"] = "Ѝ",
+	["ў"] = "Ў",
+	["џ"] = "Џ",
+	["ѡ"] = "Ѡ",
+	["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"] = "Ᵽ",
+	["ḁ"] = "Ḁ",
+	["ḃ"] = "Ḃ",
+	["ḅ"] = "Ḅ",
+	["ḇ"] = "Ḇ",
+	["ḉ"] = "Ḉ",
+	["ḋ"] = "Ḋ",
+	["ḍ"] = "Ḍ",
+	["ḏ"] = "Ḏ",
+	["ḑ"] = "Ḑ",
+	["ḓ"] = "Ḓ",
+	["ḕ"] = "Ḕ",
+	["ḗ"] = "Ḗ",
+	["ḙ"] = "Ḙ",
+	["ḛ"] = "Ḛ",
+	["ḝ"] = "Ḝ",
+	["ḟ"] = "Ḟ",
+	["ḡ"] = "Ḡ",
+	["ḣ"] = "Ḣ",
+	["ḥ"] = "Ḥ",
+	["ḧ"] = "Ḧ",
+	["ḩ"] = "Ḩ",
+	["ḫ"] = "Ḫ",
+	["ḭ"] = "Ḭ",
+	["ḯ"] = "Ḯ",
+	["ḱ"] = "Ḱ",
+	["ḳ"] = "Ḳ",
+	["ḵ"] = "Ḵ",
+	["ḷ"] = "Ḷ",
+	["ḹ"] = "Ḹ",
+	["ḻ"] = "Ḻ",
+	["ḽ"] = "Ḽ",
+	["ḿ"] = "Ḿ",
+	["ṁ"] = "Ṁ",
+	["ṃ"] = "Ṃ",
+	["ṅ"] = "Ṅ",
+	["ṇ"] = "Ṇ",
+	["ṉ"] = "Ṉ",
+	["ṋ"] = "Ṋ",
+	["ṍ"] = "Ṍ",
+	["ṏ"] = "Ṏ",
+	["ṑ"] = "Ṑ",
+	["ṓ"] = "Ṓ",
+	["ṕ"] = "Ṕ",
+	["ṗ"] = "Ṗ",
+	["ṙ"] = "Ṙ",
+	["ṛ"] = "Ṛ",
+	["ṝ"] = "Ṝ",
+	["ṟ"] = "Ṟ",
+	["ṡ"] = "Ṡ",
+	["ṣ"] = "Ṣ",
+	["ṥ"] = "Ṥ",
+	["ṧ"] = "Ṧ",
+	["ṩ"] = "Ṩ",
+	["ṫ"] = "Ṫ",
+	["ṭ"] = "Ṭ",
+	["ṯ"] = "Ṯ",
+	["ṱ"] = "Ṱ",
+	["ṳ"] = "Ṳ",
+	["ṵ"] = "Ṵ",
+	["ṷ"] = "Ṷ",
+	["ṹ"] = "Ṹ",
+	["ṻ"] = "Ṻ",
+	["ṽ"] = "Ṽ",
+	["ṿ"] = "Ṿ",
+	["ẁ"] = "Ẁ",
+	["ẃ"] = "Ẃ",
+	["ẅ"] = "Ẅ",
+	["ẇ"] = "Ẇ",
+	["ẉ"] = "Ẉ",
+	["ẋ"] = "Ẋ",
+	["ẍ"] = "Ẍ",
+	["ẏ"] = "Ẏ",
+	["ẑ"] = "Ẑ",
+	["ẓ"] = "Ẓ",
+	["ẕ"] = "Ẕ",
+	["ẛ"] = "Ṡ",
+	["ạ"] = "Ạ",
+	["ả"] = "Ả",
+	["ấ"] = "Ấ",
+	["ầ"] = "Ầ",
+	["ẩ"] = "Ẩ",
+	["ẫ"] = "Ẫ",
+	["ậ"] = "Ậ",
+	["ắ"] = "Ắ",
+	["ằ"] = "Ằ",
+	["ẳ"] = "Ẳ",
+	["ẵ"] = "Ẵ",
+	["ặ"] = "Ặ",
+	["ẹ"] = "Ẹ",
+	["ẻ"] = "Ẻ",
+	["ẽ"] = "Ẽ",
+	["ế"] = "Ế",
+	["ề"] = "Ề",
+	["ể"] = "Ể",
+	["ễ"] = "Ễ",
+	["ệ"] = "Ệ",
+	["ỉ"] = "Ỉ",
+	["ị"] = "Ị",
+	["ọ"] = "Ọ",
+	["ỏ"] = "Ỏ",
+	["ố"] = "Ố",
+	["ồ"] = "Ồ",
+	["ổ"] = "Ổ",
+	["ỗ"] = "Ỗ",
+	["ộ"] = "Ộ",
+	["ớ"] = "Ớ",
+	["ờ"] = "Ờ",
+	["ở"] = "Ở",
+	["ỡ"] = "Ỡ",
+	["ợ"] = "Ợ",
+	["ụ"] = "Ụ",
+	["ủ"] = "Ủ",
+	["ứ"] = "Ứ",
+	["ừ"] = "Ừ",
+	["ử"] = "Ử",
+	["ữ"] = "Ữ",
+	["ự"] = "Ự",
+	["ỳ"] = "Ỳ",
+	["ỵ"] = "Ỵ",
+	["ỷ"] = "Ỷ",
+	["ỹ"] = "Ỹ",
+	["ἀ"] = "Ἀ",
+	["ἁ"] = "Ἁ",
+	["ἂ"] = "Ἂ",
+	["ἃ"] = "Ἃ",
+	["ἄ"] = "Ἄ",
+	["ἅ"] = "Ἅ",
+	["ἆ"] = "Ἆ",
+	["ἇ"] = "Ἇ",
+	["ἐ"] = "Ἐ",
+	["ἑ"] = "Ἑ",
+	["ἒ"] = "Ἒ",
+	["ἓ"] = "Ἓ",
+	["ἔ"] = "Ἔ",
+	["ἕ"] = "Ἕ",
+	["ἠ"] = "Ἠ",
+	["ἡ"] = "Ἡ",
+	["ἢ"] = "Ἢ",
+	["ἣ"] = "Ἣ",
+	["ἤ"] = "Ἤ",
+	["ἥ"] = "Ἥ",
+	["ἦ"] = "Ἦ",
+	["ἧ"] = "Ἧ",
+	["ἰ"] = "Ἰ",
+	["ἱ"] = "Ἱ",
+	["ἲ"] = "Ἲ",
+	["ἳ"] = "Ἳ",
+	["ἴ"] = "Ἴ",
+	["ἵ"] = "Ἵ",
+	["ἶ"] = "Ἶ",
+	["ἷ"] = "Ἷ",
+	["ὀ"] = "Ὀ",
+	["ὁ"] = "Ὁ",
+	["ὂ"] = "Ὂ",
+	["ὃ"] = "Ὃ",
+	["ὄ"] = "Ὄ",
+	["ὅ"] = "Ὅ",
+	["ὑ"] = "Ὑ",
+	["ὓ"] = "Ὓ",
+	["ὕ"] = "Ὕ",
+	["ὗ"] = "Ὗ",
+	["ὠ"] = "Ὠ",
+	["ὡ"] = "Ὡ",
+	["ὢ"] = "Ὢ",
+	["ὣ"] = "Ὣ",
+	["ὤ"] = "Ὤ",
+	["ὥ"] = "Ὥ",
+	["ὦ"] = "Ὦ",
+	["ὧ"] = "Ὧ",
+	["ὰ"] = "Ὰ",
+	["ά"] = "Ά",
+	["ὲ"] = "Ὲ",
+	["έ"] = "Έ",
+	["ὴ"] = "Ὴ",
+	["ή"] = "Ή",
+	["ὶ"] = "Ὶ",
+	["ί"] = "Ί",
+	["ὸ"] = "Ὸ",
+	["ό"] = "Ό",
+	["ὺ"] = "Ὺ",
+	["ύ"] = "Ύ",
+	["ὼ"] = "Ὼ",
+	["ώ"] = "Ώ",
+	["ᾀ"] = "ᾈ",
+	["ᾁ"] = "ᾉ",
+	["ᾂ"] = "ᾊ",
+	["ᾃ"] = "ᾋ",
+	["ᾄ"] = "ᾌ",
+	["ᾅ"] = "ᾍ",
+	["ᾆ"] = "ᾎ",
+	["ᾇ"] = "ᾏ",
+	["ᾐ"] = "ᾘ",
+	["ᾑ"] = "ᾙ",
+	["ᾒ"] = "ᾚ",
+	["ᾓ"] = "ᾛ",
+	["ᾔ"] = "ᾜ",
+	["ᾕ"] = "ᾝ",
+	["ᾖ"] = "ᾞ",
+	["ᾗ"] = "ᾟ",
+	["ᾠ"] = "ᾨ",
+	["ᾡ"] = "ᾩ",
+	["ᾢ"] = "ᾪ",
+	["ᾣ"] = "ᾫ",
+	["ᾤ"] = "ᾬ",
+	["ᾥ"] = "ᾭ",
+	["ᾦ"] = "ᾮ",
+	["ᾧ"] = "ᾯ",
+	["ᾰ"] = "Ᾰ",
+	["ᾱ"] = "Ᾱ",
+	["ᾳ"] = "ᾼ",
+	["ι"] = "Ι",
+	["ῃ"] = "ῌ",
+	["ῐ"] = "Ῐ",
+	["ῑ"] = "Ῑ",
+	["ῠ"] = "Ῠ",
+	["ῡ"] = "Ῡ",
+	["ῥ"] = "Ῥ",
+	["ῳ"] = "ῼ",
+	["ⅎ"] = "Ⅎ",
+	["ⅰ"] = "Ⅰ",
+	["ⅱ"] = "Ⅱ",
+	["ⅲ"] = "Ⅲ",
+	["ⅳ"] = "Ⅳ",
+	["ⅴ"] = "Ⅴ",
+	["ⅵ"] = "Ⅵ",
+	["ⅶ"] = "Ⅶ",
+	["ⅷ"] = "Ⅷ",
+	["ⅸ"] = "Ⅸ",
+	["ⅹ"] = "Ⅹ",
+	["ⅺ"] = "Ⅺ",
+	["ⅻ"] = "Ⅻ",
+	["ⅼ"] = "Ⅼ",
+	["ⅽ"] = "Ⅽ",
+	["ⅾ"] = "Ⅾ",
+	["ⅿ"] = "Ⅿ",
+	["ↄ"] = "Ↄ",
+	["ⓐ"] = "Ⓐ",
+	["ⓑ"] = "Ⓑ",
+	["ⓒ"] = "Ⓒ",
+	["ⓓ"] = "Ⓓ",
+	["ⓔ"] = "Ⓔ",
+	["ⓕ"] = "Ⓕ",
+	["ⓖ"] = "Ⓖ",
+	["ⓗ"] = "Ⓗ",
+	["ⓘ"] = "Ⓘ",
+	["ⓙ"] = "Ⓙ",
+	["ⓚ"] = "Ⓚ",
+	["ⓛ"] = "Ⓛ",
+	["ⓜ"] = "Ⓜ",
+	["ⓝ"] = "Ⓝ",
+	["ⓞ"] = "Ⓞ",
+	["ⓟ"] = "Ⓟ",
+	["ⓠ"] = "Ⓠ",
+	["ⓡ"] = "Ⓡ",
+	["ⓢ"] = "Ⓢ",
+	["ⓣ"] = "Ⓣ",
+	["ⓤ"] = "Ⓤ",
+	["ⓥ"] = "Ⓥ",
+	["ⓦ"] = "Ⓦ",
+	["ⓧ"] = "Ⓧ",
+	["ⓨ"] = "Ⓨ",
+	["ⓩ"] = "Ⓩ",
+	["ⰰ"] = "Ⰰ",
+	["ⰱ"] = "Ⰱ",
+	["ⰲ"] = "Ⰲ",
+	["ⰳ"] = "Ⰳ",
+	["ⰴ"] = "Ⰴ",
+	["ⰵ"] = "Ⰵ",
+	["ⰶ"] = "Ⰶ",
+	["ⰷ"] = "Ⰷ",
+	["ⰸ"] = "Ⰸ",
+	["ⰹ"] = "Ⰹ",
+	["ⰺ"] = "Ⰺ",
+	["ⰻ"] = "Ⰻ",
+	["ⰼ"] = "Ⰼ",
+	["ⰽ"] = "Ⰽ",
+	["ⰾ"] = "Ⰾ",
+	["ⰿ"] = "Ⰿ",
+	["ⱀ"] = "Ⱀ",
+	["ⱁ"] = "Ⱁ",
+	["ⱂ"] = "Ⱂ",
+	["ⱃ"] = "Ⱃ",
+	["ⱄ"] = "Ⱄ",
+	["ⱅ"] = "Ⱅ",
+	["ⱆ"] = "Ⱆ",
+	["ⱇ"] = "Ⱇ",
+	["ⱈ"] = "Ⱈ",
+	["ⱉ"] = "Ⱉ",
+	["ⱊ"] = "Ⱊ",
+	["ⱋ"] = "Ⱋ",
+	["ⱌ"] = "Ⱌ",
+	["ⱍ"] = "Ⱍ",
+	["ⱎ"] = "Ⱎ",
+	["ⱏ"] = "Ⱏ",
+	["ⱐ"] = "Ⱐ",
+	["ⱑ"] = "Ⱑ",
+	["ⱒ"] = "Ⱒ",
+	["ⱓ"] = "Ⱓ",
+	["ⱔ"] = "Ⱔ",
+	["ⱕ"] = "Ⱕ",
+	["ⱖ"] = "Ⱖ",
+	["ⱗ"] = "Ⱗ",
+	["ⱘ"] = "Ⱘ",
+	["ⱙ"] = "Ⱙ",
+	["ⱚ"] = "Ⱚ",
+	["ⱛ"] = "Ⱛ",
+	["ⱜ"] = "Ⱜ",
+	["ⱝ"] = "Ⱝ",
+	["ⱞ"] = "Ⱞ",
+	["ⱡ"] = "Ⱡ",
+	["ⱥ"] = "Ⱥ",
+	["ⱦ"] = "Ⱦ",
+	["ⱨ"] = "Ⱨ",
+	["ⱪ"] = "Ⱪ",
+	["ⱬ"] = "Ⱬ",
+	["ⱶ"] = "Ⱶ",
+	["ⲁ"] = "Ⲁ",
+	["ⲃ"] = "Ⲃ",
+	["ⲅ"] = "Ⲅ",
+	["ⲇ"] = "Ⲇ",
+	["ⲉ"] = "Ⲉ",
+	["ⲋ"] = "Ⲋ",
+	["ⲍ"] = "Ⲍ",
+	["ⲏ"] = "Ⲏ",
+	["ⲑ"] = "Ⲑ",
+	["ⲓ"] = "Ⲓ",
+	["ⲕ"] = "Ⲕ",
+	["ⲗ"] = "Ⲗ",
+	["ⲙ"] = "Ⲙ",
+	["ⲛ"] = "Ⲛ",
+	["ⲝ"] = "Ⲝ",
+	["ⲟ"] = "Ⲟ",
+	["ⲡ"] = "Ⲡ",
+	["ⲣ"] = "Ⲣ",
+	["ⲥ"] = "Ⲥ",
+	["ⲧ"] = "Ⲧ",
+	["ⲩ"] = "Ⲩ",
+	["ⲫ"] = "Ⲫ",
+	["ⲭ"] = "Ⲭ",
+	["ⲯ"] = "Ⲯ",
+	["ⲱ"] = "Ⲱ",
+	["ⲳ"] = "Ⲳ",
+	["ⲵ"] = "Ⲵ",
+	["ⲷ"] = "Ⲷ",
+	["ⲹ"] = "Ⲹ",
+	["ⲻ"] = "Ⲻ",
+	["ⲽ"] = "Ⲽ",
+	["ⲿ"] = "Ⲿ",
+	["ⳁ"] = "Ⳁ",
+	["ⳃ"] = "Ⳃ",
+	["ⳅ"] = "Ⳅ",
+	["ⳇ"] = "Ⳇ",
+	["ⳉ"] = "Ⳉ",
+	["ⳋ"] = "Ⳋ",
+	["ⳍ"] = "Ⳍ",
+	["ⳏ"] = "Ⳏ",
+	["ⳑ"] = "Ⳑ",
+	["ⳓ"] = "Ⳓ",
+	["ⳕ"] = "Ⳕ",
+	["ⳗ"] = "Ⳗ",
+	["ⳙ"] = "Ⳙ",
+	["ⳛ"] = "Ⳛ",
+	["ⳝ"] = "Ⳝ",
+	["ⳟ"] = "Ⳟ",
+	["ⳡ"] = "Ⳡ",
+	["ⳣ"] = "Ⳣ",
+	["ⴀ"] = "Ⴀ",
+	["ⴁ"] = "Ⴁ",
+	["ⴂ"] = "Ⴂ",
+	["ⴃ"] = "Ⴃ",
+	["ⴄ"] = "Ⴄ",
+	["ⴅ"] = "Ⴅ",
+	["ⴆ"] = "Ⴆ",
+	["ⴇ"] = "Ⴇ",
+	["ⴈ"] = "Ⴈ",
+	["ⴉ"] = "Ⴉ",
+	["ⴊ"] = "Ⴊ",
+	["ⴋ"] = "Ⴋ",
+	["ⴌ"] = "Ⴌ",
+	["ⴍ"] = "Ⴍ",
+	["ⴎ"] = "Ⴎ",
+	["ⴏ"] = "Ⴏ",
+	["ⴐ"] = "Ⴐ",
+	["ⴑ"] = "Ⴑ",
+	["ⴒ"] = "Ⴒ",
+	["ⴓ"] = "Ⴓ",
+	["ⴔ"] = "Ⴔ",
+	["ⴕ"] = "Ⴕ",
+	["ⴖ"] = "Ⴖ",
+	["ⴗ"] = "Ⴗ",
+	["ⴘ"] = "Ⴘ",
+	["ⴙ"] = "Ⴙ",
+	["ⴚ"] = "Ⴚ",
+	["ⴛ"] = "Ⴛ",
+	["ⴜ"] = "Ⴜ",
+	["ⴝ"] = "Ⴝ",
+	["ⴞ"] = "Ⴞ",
+	["ⴟ"] = "Ⴟ",
+	["ⴠ"] = "Ⴠ",
+	["ⴡ"] = "Ⴡ",
+	["ⴢ"] = "Ⴢ",
+	["ⴣ"] = "Ⴣ",
+	["ⴤ"] = "Ⴤ",
+	["ⴥ"] = "Ⴥ",
+	["a"] = "A",
+	["b"] = "B",
+	["c"] = "C",
+	["d"] = "D",
+	["e"] = "E",
+	["f"] = "F",
+	["g"] = "G",
+	["h"] = "H",
+	["i"] = "I",
+	["j"] = "J",
+	["k"] = "K",
+	["l"] = "L",
+	["m"] = "M",
+	["n"] = "N",
+	["o"] = "O",
+	["p"] = "P",
+	["q"] = "Q",
+	["r"] = "R",
+	["s"] = "S",
+	["t"] = "T",
+	["u"] = "U",
+	["v"] = "V",
+	["w"] = "W",
+	["x"] = "X",
+	["y"] = "Y",
+	["z"] = "Z",
+	["𐐨"] = "𐐀",
+	["𐐩"] = "𐐁",
+	["𐐪"] = "𐐂",
+	["𐐫"] = "𐐃",
+	["𐐬"] = "𐐄",
+	["𐐭"] = "𐐅",
+	["𐐮"] = "𐐆",
+	["𐐯"] = "𐐇",
+	["𐐰"] = "𐐈",
+	["𐐱"] = "𐐉",
+	["𐐲"] = "𐐊",
+	["𐐳"] = "𐐋",
+	["𐐴"] = "𐐌",
+	["𐐵"] = "𐐍",
+	["𐐶"] = "𐐎",
+	["𐐷"] = "𐐏",
+	["𐐸"] = "𐐐",
+	["𐐹"] = "𐐑",
+	["𐐺"] = "𐐒",
+	["𐐻"] = "𐐓",
+	["𐐼"] = "𐐔",
+	["𐐽"] = "𐐕",
+	["𐐾"] = "𐐖",
+	["𐐿"] = "𐐗",
+	["𐑀"] = "𐐘",
+	["𐑁"] = "𐐙",
+	["𐑂"] = "𐐚",
+	["𐑃"] = "𐐛",
+	["𐑄"] = "𐐜",
+	["𐑅"] = "𐐝",
+	["𐑆"] = "𐐞",
+	["𐑇"] = "𐐟",
+	["𐑈"] = "𐐠",
+	["𐑉"] = "𐐡",
+	["𐑊"] = "𐐢",
+	["𐑋"] = "𐐣",
+	["𐑌"] = "𐐤",
+	["𐑍"] = "𐐥",
+	["𐑎"] = "𐐦",
+	["𐑏"] = "𐐧",
+}
+
+
+utf8_uc_lc = {
+	["A"] = "a",
+	["B"] = "b",
+	["C"] = "c",
+	["D"] = "d",
+	["E"] = "e",
+	["F"] = "f",
+	["G"] = "g",
+	["H"] = "h",
+	["I"] = "i",
+	["J"] = "j",
+	["K"] = "k",
+	["L"] = "l",
+	["M"] = "m",
+	["N"] = "n",
+	["O"] = "o",
+	["P"] = "p",
+	["Q"] = "q",
+	["R"] = "r",
+	["S"] = "s",
+	["T"] = "t",
+	["U"] = "u",
+	["V"] = "v",
+	["W"] = "w",
+	["X"] = "x",
+	["Y"] = "y",
+	["Z"] = "z",
+	["À"] = "à",
+	["Á"] = "á",
+	["Â"] = "â",
+	["Ã"] = "ã",
+	["Ä"] = "ä",
+	["Å"] = "å",
+	["Æ"] = "æ",
+	["Ç"] = "ç",
+	["È"] = "è",
+	["É"] = "é",
+	["Ê"] = "ê",
+	["Ë"] = "ë",
+	["Ì"] = "ì",
+	["Í"] = "í",
+	["Î"] = "î",
+	["Ï"] = "ï",
+	["Ð"] = "ð",
+	["Ñ"] = "ñ",
+	["Ò"] = "ò",
+	["Ó"] = "ó",
+	["Ô"] = "ô",
+	["Õ"] = "õ",
+	["Ö"] = "ö",
+	["Ø"] = "ø",
+	["Ù"] = "ù",
+	["Ú"] = "ú",
+	["Û"] = "û",
+	["Ü"] = "ü",
+	["Ý"] = "ý",
+	["Þ"] = "þ",
+	["Ā"] = "ā",
+	["Ă"] = "ă",
+	["Ą"] = "ą",
+	["Ć"] = "ć",
+	["Ĉ"] = "ĉ",
+	["Ċ"] = "ċ",
+	["Č"] = "č",
+	["Ď"] = "ď",
+	["Đ"] = "đ",
+	["Ē"] = "ē",
+	["Ĕ"] = "ĕ",
+	["Ė"] = "ė",
+	["Ę"] = "ę",
+	["Ě"] = "ě",
+	["Ĝ"] = "ĝ",
+	["Ğ"] = "ğ",
+	["Ġ"] = "ġ",
+	["Ģ"] = "ģ",
+	["Ĥ"] = "ĥ",
+	["Ħ"] = "ħ",
+	["Ĩ"] = "ĩ",
+	["Ī"] = "ī",
+	["Ĭ"] = "ĭ",
+	["Į"] = "į",
+	["İ"] = "i",
+	["IJ"] = "ij",
+	["Ĵ"] = "ĵ",
+	["Ķ"] = "ķ",
+	["Ĺ"] = "ĺ",
+	["Ļ"] = "ļ",
+	["Ľ"] = "ľ",
+	["Ŀ"] = "ŀ",
+	["Ł"] = "ł",
+	["Ń"] = "ń",
+	["Ņ"] = "ņ",
+	["Ň"] = "ň",
+	["Ŋ"] = "ŋ",
+	["Ō"] = "ō",
+	["Ŏ"] = "ŏ",
+	["Ő"] = "ő",
+	["Œ"] = "œ",
+	["Ŕ"] = "ŕ",
+	["Ŗ"] = "ŗ",
+	["Ř"] = "ř",
+	["Ś"] = "ś",
+	["Ŝ"] = "ŝ",
+	["Ş"] = "ş",
+	["Š"] = "š",
+	["Ţ"] = "ţ",
+	["Ť"] = "ť",
+	["Ŧ"] = "ŧ",
+	["Ũ"] = "ũ",
+	["Ū"] = "ū",
+	["Ŭ"] = "ŭ",
+	["Ů"] = "ů",
+	["Ű"] = "ű",
+	["Ų"] = "ų",
+	["Ŵ"] = "ŵ",
+	["Ŷ"] = "ŷ",
+	["Ÿ"] = "ÿ",
+	["Ź"] = "ź",
+	["Ż"] = "ż",
+	["Ž"] = "ž",
+	["Ɓ"] = "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ζ",
+	["Η"] = "η",
+	["Θ"] = "θ",
+	["Ι"] = "ι",
+	["Κ"] = "κ",
+	["Λ"] = "λ",
+	["Μ"] = "μ",
+	["Ν"] = "ν",
+	["Ξ"] = "ξ",
+	["Ο"] = "ο",
+	["Π"] = "π",
+	["Ρ"] = "ρ",
+	["Σ"] = "σ",
+	["Τ"] = "τ",
+	["Υ"] = "υ",
+	["Φ"] = "φ",
+	["Χ"] = "χ",
+	["Ψ"] = "ψ",
+	["Ω"] = "ω",
+	["Ϊ"] = "ϊ",
+	["Ϋ"] = "ϋ",
+	["Ϙ"] = "ϙ",
+	["Ϛ"] = "ϛ",
+	["Ϝ"] = "ϝ",
+	["Ϟ"] = "ϟ",
+	["Ϡ"] = "ϡ",
+	["Ϣ"] = "ϣ",
+	["Ϥ"] = "ϥ",
+	["Ϧ"] = "ϧ",
+	["Ϩ"] = "ϩ",
+	["Ϫ"] = "ϫ",
+	["Ϭ"] = "ϭ",
+	["Ϯ"] = "ϯ",
+	["ϴ"] = "θ",
+	["Ϸ"] = "ϸ",
+	["Ϲ"] = "ϲ",
+	["Ϻ"] = "ϻ",
+	["Ͻ"] = "ͻ",
+	["Ͼ"] = "ͼ",
+	["Ͽ"] = "ͽ",
+	["Ѐ"] = "ѐ",
+	["Ё"] = "ё",
+	["Ђ"] = "ђ",
+	["Ѓ"] = "ѓ",
+	["Є"] = "є",
+	["Ѕ"] = "ѕ",
+	["І"] = "і",
+	["Ї"] = "ї",
+	["Ј"] = "ј",
+	["Љ"] = "љ",
+	["Њ"] = "њ",
+	["Ћ"] = "ћ",
+	["Ќ"] = "ќ",
+	["Ѝ"] = "ѝ",
+	["Ў"] = "ў",
+	["Џ"] = "џ",
+	["А"] = "а",
+	["Б"] = "б",
+	["В"] = "в",
+	["Г"] = "г",
+	["Д"] = "д",
+	["Е"] = "е",
+	["Ж"] = "ж",
+	["З"] = "з",
+	["И"] = "и",
+	["Й"] = "й",
+	["К"] = "к",
+	["Л"] = "л",
+	["М"] = "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	["Ḁ"] = "ḁ",
+	["Ḃ"] = "ḃ",
+	["Ḅ"] = "ḅ",
+	["Ḇ"] = "ḇ",
+	["Ḉ"] = "ḉ",
+	["Ḋ"] = "ḋ",
+	["Ḍ"] = "ḍ",
+	["Ḏ"] = "ḏ",
+	["Ḑ"] = "ḑ",
+	["Ḓ"] = "ḓ",
+	["Ḕ"] = "ḕ",
+	["Ḗ"] = "ḗ",
+	["Ḙ"] = "ḙ",
+	["Ḛ"] = "ḛ",
+	["Ḝ"] = "ḝ",
+	["Ḟ"] = "ḟ",
+	["Ḡ"] = "ḡ",
+	["Ḣ"] = "ḣ",
+	["Ḥ"] = "ḥ",
+	["Ḧ"] = "ḧ",
+	["Ḩ"] = "ḩ",
+	["Ḫ"] = "ḫ",
+	["Ḭ"] = "ḭ",
+	["Ḯ"] = "ḯ",
+	["Ḱ"] = "ḱ",
+	["Ḳ"] = "ḳ",
+	["Ḵ"] = "ḵ",
+	["Ḷ"] = "ḷ",
+	["Ḹ"] = "ḹ",
+	["Ḻ"] = "ḻ",
+	["Ḽ"] = "ḽ",
+	["Ḿ"] = "ḿ",
+	["Ṁ"] = "ṁ",
+	["Ṃ"] = "ṃ",
+	["Ṅ"] = "ṅ",
+	["Ṇ"] = "ṇ",
+	["Ṉ"] = "ṉ",
+	["Ṋ"] = "ṋ",
+	["Ṍ"] = "ṍ",
+	["Ṏ"] = "ṏ",
+	["Ṑ"] = "ṑ",
+	["Ṓ"] = "ṓ",
+	["Ṕ"] = "ṕ",
+	["Ṗ"] = "ṗ",
+	["Ṙ"] = "ṙ",
+	["Ṛ"] = "ṛ",
+	["Ṝ"] = "ṝ",
+	["Ṟ"] = "ṟ",
+	["Ṡ"] = "ṡ",
+	["Ṣ"] = "ṣ",
+	["Ṥ"] = "ṥ",
+	["Ṧ"] = "ṧ",
+	["Ṩ"] = "ṩ",
+	["Ṫ"] = "ṫ",
+	["Ṭ"] = "ṭ",
+	["Ṯ"] = "ṯ",
+	["Ṱ"] = "ṱ",
+	["Ṳ"] = "ṳ",
+	["Ṵ"] = "ṵ",
+	["Ṷ"] = "ṷ",
+	["Ṹ"] = "ṹ",
+	["Ṻ"] = "ṻ",
+	["Ṽ"] = "ṽ",
+	["Ṿ"] = "ṿ",
+	["Ẁ"] = "ẁ",
+	["Ẃ"] = "ẃ",
+	["Ẅ"] = "ẅ",
+	["Ẇ"] = "ẇ",
+	["Ẉ"] = "ẉ",
+	["Ẋ"] = "ẋ",
+	["Ẍ"] = "ẍ",
+	["Ẏ"] = "ẏ",
+	["Ẑ"] = "ẑ",
+	["Ẓ"] = "ẓ",
+	["Ẕ"] = "ẕ",
+	["Ạ"] = "ạ",
+	["Ả"] = "ả",
+	["Ấ"] = "ấ",
+	["Ầ"] = "ầ",
+	["Ẩ"] = "ẩ",
+	["Ẫ"] = "ẫ",
+	["Ậ"] = "ậ",
+	["Ắ"] = "ắ",
+	["Ằ"] = "ằ",
+	["Ẳ"] = "ẳ",
+	["Ẵ"] = "ẵ",
+	["Ặ"] = "ặ",
+	["Ẹ"] = "ẹ",
+	["Ẻ"] = "ẻ",
+	["Ẽ"] = "ẽ",
+	["Ế"] = "ế",
+	["Ề"] = "ề",
+	["Ể"] = "ể",
+	["Ễ"] = "ễ",
+	["Ệ"] = "ệ",
+	["Ỉ"] = "ỉ",
+	["Ị"] = "ị",
+	["Ọ"] = "ọ",
+	["Ỏ"] = "ỏ",
+	["Ố"] = "ố",
+	["Ồ"] = "ồ",
+	["Ổ"] = "ổ",
+	["Ỗ"] = "ỗ",
+	["Ộ"] = "ộ",
+	["Ớ"] = "ớ",
+	["Ờ"] = "ờ",
+	["Ở"] = "ở",
+	["Ỡ"] = "ỡ",
+	["Ợ"] = "ợ",
+	["Ụ"] = "ụ",
+	["Ủ"] = "ủ",
+	["Ứ"] = "ứ",
+	["Ừ"] = "ừ",
+	["Ử"] = "ử",
+	["Ữ"] = "ữ",
+	["Ự"] = "ự",
+	["Ỳ"] = "ỳ",
+	["Ỵ"] = "ỵ",
+	["Ỷ"] = "ỷ",
+	["Ỹ"] = "ỹ",
+	["Ἀ"] = "ἀ",
+	["Ἁ"] = "ἁ",
+	["Ἂ"] = "ἂ",
+	["Ἃ"] = "ἃ",
+	["Ἄ"] = "ἄ",
+	["Ἅ"] = "ἅ",
+	["Ἆ"] = "ἆ",
+	["Ἇ"] = "ἇ",
+	["Ἐ"] = "ἐ",
+	["Ἑ"] = "ἑ",
+	["Ἒ"] = "ἒ",
+	["Ἓ"] = "ἓ",
+	["Ἔ"] = "ἔ",
+	["Ἕ"] = "ἕ",
+	["Ἠ"] = "ἠ",
+	["Ἡ"] = "ἡ",
+	["Ἢ"] = "ἢ",
+	["Ἣ"] = "ἣ",
+	["Ἤ"] = "ἤ",
+	["Ἥ"] = "ἥ",
+	["Ἦ"] = "ἦ",
+	["Ἧ"] = "ἧ",
+	["Ἰ"] = "ἰ",
+	["Ἱ"] = "ἱ",
+	["Ἲ"] = "ἲ",
+	["Ἳ"] = "ἳ",
+	["Ἴ"] = "ἴ",
+	["Ἵ"] = "ἵ",
+	["Ἶ"] = "ἶ",
+	["Ἷ"] = "ἷ",
+	["Ὀ"] = "ὀ",
+	["Ὁ"] = "ὁ",
+	["Ὂ"] = "ὂ",
+	["Ὃ"] = "ὃ",
+	["Ὄ"] = "ὄ",
+	["Ὅ"] = "ὅ",
+	["Ὑ"] = "ὑ",
+	["Ὓ"] = "ὓ",
+	["Ὕ"] = "ὕ",
+	["Ὗ"] = "ὗ",
+	["Ὠ"] = "ὠ",
+	["Ὡ"] = "ὡ",
+	["Ὢ"] = "ὢ",
+	["Ὣ"] = "ὣ",
+	["Ὤ"] = "ὤ",
+	["Ὥ"] = "ὥ",
+	["Ὦ"] = "ὦ",
+	["Ὧ"] = "ὧ",
+	["ᾈ"] = "ᾀ",
+	["ᾉ"] = "ᾁ",
+	["ᾊ"] = "ᾂ",
+	["ᾋ"] = "ᾃ",
+	["ᾌ"] = "ᾄ",
+	["ᾍ"] = "ᾅ",
+	["ᾎ"] = "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"] = "ⅻ",
+	["Ⅼ"] = "ⅼ",
+	["Ⅽ"] = "ⅽ",
+	["Ⅾ"] = "ⅾ",
+	["Ⅿ"] = "ⅿ",
+	["Ↄ"] = "ↄ",
+	["Ⓐ"] = "ⓐ",
+	["Ⓑ"] = "ⓑ",
+	["Ⓒ"] = "ⓒ",
+	["Ⓓ"] = "ⓓ",
+	["Ⓔ"] = "ⓔ",
+	["Ⓕ"] = "ⓕ",
+	["Ⓖ"] = "ⓖ",
+	["Ⓗ"] = "ⓗ",
+	["Ⓘ"] = "ⓘ",
+	["Ⓙ"] = "ⓙ",
+	["Ⓚ"] = "ⓚ",
+	["Ⓛ"] = "ⓛ",
+	["Ⓜ"] = "ⓜ",
+	["Ⓝ"] = "ⓝ",
+	["Ⓞ"] = "ⓞ",
+	["Ⓟ"] = "ⓟ",
+	["Ⓠ"] = "ⓠ",
+	["Ⓡ"] = "ⓡ",
+	["Ⓢ"] = "ⓢ",
+	["Ⓣ"] = "ⓣ",
+	["Ⓤ"] = "ⓤ",
+	["Ⓥ"] = "ⓥ",
+	["Ⓦ"] = "ⓦ",
+	["Ⓧ"] = "ⓧ",
+	["Ⓨ"] = "ⓨ",
+	["Ⓩ"] = "ⓩ",
+	["Ⰰ"] = "ⰰ",
+	["Ⰱ"] = "ⰱ",
+	["Ⰲ"] = "ⰲ",
+	["Ⰳ"] = "ⰳ",
+	["Ⰴ"] = "ⰴ",
+	["Ⰵ"] = "ⰵ",
+	["Ⰶ"] = "ⰶ",
+	["Ⰷ"] = "ⰷ",
+	["Ⰸ"] = "ⰸ",
+	["Ⰹ"] = "ⰹ",
+	["Ⰺ"] = "ⰺ",
+	["Ⰻ"] = "ⰻ",
+	["Ⰼ"] = "ⰼ",
+	["Ⰽ"] = "ⰽ",
+	["Ⰾ"] = "ⰾ",
+	["Ⰿ"] = "ⰿ",
+	["Ⱀ"] = "ⱀ",
+	["Ⱁ"] = "ⱁ",
+	["Ⱂ"] = "ⱂ",
+	["Ⱃ"] = "ⱃ",
+	["Ⱄ"] = "ⱄ",
+	["Ⱅ"] = "ⱅ",
+	["Ⱆ"] = "ⱆ",
+	["Ⱇ"] = "ⱇ",
+	["Ⱈ"] = "ⱈ",
+	["Ⱉ"] = "ⱉ",
+	["Ⱊ"] = "ⱊ",
+	["Ⱋ"] = "ⱋ",
+	["Ⱌ"] = "ⱌ",
+	["Ⱍ"] = "ⱍ",
+	["Ⱎ"] = "ⱎ",
+	["Ⱏ"] = "ⱏ",
+	["Ⱐ"] = "ⱐ",
+	["Ⱑ"] = "ⱑ",
+	["Ⱒ"] = "ⱒ",
+	["Ⱓ"] = "ⱓ",
+	["Ⱔ"] = "ⱔ",
+	["Ⱕ"] = "ⱕ",
+	["Ⱖ"] = "ⱖ",
+	["Ⱗ"] = "ⱗ",
+	["Ⱘ"] = "ⱘ",
+	["Ⱙ"] = "ⱙ",
+	["Ⱚ"] = "ⱚ",
+	["Ⱛ"] = "ⱛ",
+	["Ⱜ"] = "ⱜ",
+	["Ⱝ"] = "ⱝ",
+	["Ⱞ"] = "ⱞ",
+	["Ⱡ"] = "ⱡ",
+	["Ɫ"] = "ɫ",
+	["Ᵽ"] = "ᵽ",
+	["Ɽ"] = "ɽ",
+	["Ⱨ"] = "ⱨ",
+	["Ⱪ"] = "ⱪ",
+	["Ⱬ"] = "ⱬ",
+	["Ⱶ"] = "ⱶ",
+	["Ⲁ"] = "ⲁ",
+	["Ⲃ"] = "ⲃ",
+	["Ⲅ"] = "ⲅ",
+	["Ⲇ"] = "ⲇ",
+	["Ⲉ"] = "ⲉ",
+	["Ⲋ"] = "ⲋ",
+	["Ⲍ"] = "ⲍ",
+	["Ⲏ"] = "ⲏ",
+	["Ⲑ"] = "ⲑ",
+	["Ⲓ"] = "ⲓ",
+	["Ⲕ"] = "ⲕ",
+	["Ⲗ"] = "ⲗ",
+	["Ⲙ"] = "ⲙ",
+	["Ⲛ"] = "ⲛ",
+	["Ⲝ"] = "ⲝ",
+	["Ⲟ"] = "ⲟ",
+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"] = "𐐫",
+	["𐐄"] = "𐐬",
+	["𐐅"] = "𐐭",
+	["𐐆"] = "𐐮",
+	["𐐇"] = "𐐯",
+	["𐐈"] = "𐐰",
+	["𐐉"] = "𐐱",
+	["𐐊"] = "𐐲",
+	["𐐋"] = "𐐳",
+	["𐐌"] = "𐐴",
+	["𐐍"] = "𐐵",
+	["𐐎"] = "𐐶",
+	["𐐏"] = "𐐷",
+	["𐐐"] = "𐐸",
+	["𐐑"] = "𐐹",
+	["𐐒"] = "𐐺",
+	["𐐓"] = "𐐻",
+	["𐐔"] = "𐐼",
+	["𐐕"] = "𐐽",
+	["𐐖"] = "𐐾",
+	["𐐗"] = "𐐿",
+	["𐐘"] = "𐑀",
+	["𐐙"] = "𐑁",
+	["𐐚"] = "𐑂",
+	["𐐛"] = "𐑃",
+	["𐐜"] = "𐑄",
+	["𐐝"] = "𐑅",
+	["𐐞"] = "𐑆",
+	["𐐟"] = "𐑇",
+	["𐐠"] = "𐑈",
+	["𐐡"] = "𐑉",
+	["𐐢"] = "𐑊",
+	["𐐣"] = "𐑋",
+	["𐐤"] = "𐑌",
+	["𐐥"] = "𐑍",
+	["𐐦"] = "𐑎",
+	["𐐧"] = "𐑏",
+}
+
diff --git a/TheAlternative.toc b/TheAlternative.toc
new file mode 100644
index 0000000..4582e24
--- /dev/null
+++ b/TheAlternative.toc
@@ -0,0 +1,15 @@
+## Interface: 50001
+## Title: The Alternative
+## Author: Corv
+## Notes: Tracks currencies and inventories across characters.
+## SavedVariables: CEAltsDB
+
+Libs\UTF8\utf8data.lua
+Libs\UTF8\utf8.lua
+embeds.xml
+
+Locales\en-US.lua
+
+Character.lua
+Currencies.lua
+ChillEffectAlts.lua