Converted to AceAddon / Modules.
Minor changes