Organization:
-------------
mHud	Handles the DB and Unit system.
	All modules are registered to mHud (with exeptions)
	Examples: Background, Frame, GradiantColor... visual components etc.

mBar	A seperate class for barhandling.
	mBarHandler is a interface for handler modules to the mBar
	Examples: Health, Power, ComboPoints, Threat... all incomming data

SplitModules.bat:
-----------------
Moves all directories to the root addon folder, to allow them to be
disabled and enabled pre enter world.

All modules will have a seperate <<config.lua>> that's only embeded by the Configuration module.
This wil save memmory when Config is disabled.
Since there isn't any interface toward the addon when the config module isn't loaded,
AceLocale-3.0 is loaded with AceConfig.

Messages:
---------
MBAR_CREATED		[arg2] = frame, called when ever a new bar is created
MBAR_CONFIG_UPDATE	[arg2] = frame, called when ever configuration is set or updated for a frame
MBAR_ANCHOR_SET		[arg2] = frame, called when the anchor to a frame is set (not in use)
MBAR_PAINT		[arg2] = frame, is ready for painting (coloring, alpha etc.)
MBAR_PAINT_OVERLAY	[arg2] = frame, same as above, but the 2nd time arround, used for modules who copy other paint jobs
MBAR_SUB_PAINT		[arg2] = frame, painting of tickers / half bars.
(more to come)

mBar:
-----
All new modules use the mBarHandler prototype.

mBar:SetValue(frame, value)		Set value to one spesific bar. Value [0, 1]

mBar:SetSubValue(f, low, high, dx, dy)	Set value to one spesific sub bar. The bar must have another bar as parent.
					low [0, 1]
					high [0, 1] and high > low
					dx, offset in pixels relative to the parent bar, default: 0
					dy, offset in pixels relative to the parent bar, default: 0

mBar:PaintTexture(tex, fr, to)		Draws the texture of a texture frame. Rotation, flip etc is inheareted from the textures parent bar
					tex, a texture with a bar as its parent
					fr [0, 1]
					to [0, 1] and to > fr

mBar:GetFrame(id)			Returns frame ref. from a barId (id from the db)

mBar:CreateBar(id, db)			Creates a new bar, id should be the uniq identifier in the DB.
					db is the ref. to the local bar configuration. ex: db = mHud.db.profile.bar[id]

mBarHandler:   (handler modules to mBar)
------------
All these modules are loaded by default.

module.events = { "UNIT_MANA" }		List of events who triggers a new value
module:GetUnitValue(unit)		Returns the value for this unit
module:GetValue(f)			Returns the value for this frame. Overwriting this will disable module:GetUnitValue(unit)
module:GetColor(f)			The default coloring method, not in use if you load GradiantColor module
module:Debug(msg, force)		Debug messages


Inheritance:
-------------
mModule:
* AceEvent-3.0

mPowerTicker:
* mTicker