<!-- BLU Main Loader -->
<Ui xmlns="http://www.blizzard.com/wow/ui/">
    <!-- Core Systems (Load Order Matters) -->
    <Script file="core/core.lua"/>
    <Script file="core/database.lua"/>
    <Script file="core/combat_protection.lua"/>
    <Script file="core/sounds.lua"/>
    <Script file="core/config.lua"/>
    <Script file="core/utils.lua"/>
    <Script file="core/registry.lua"/>
    <Script file="core/loader.lua"/>

    <Script file="core/internal_sounds.lua"/>
    <Script file="core/sharedmedia.lua"/>

    <!-- User Custom Sounds -->
    <Script file="user/user_sounds.lua"/>
    <Script file="core/usersounds.lua"/>

    <!-- Localization -->
    <Script file="Localization/enUS.lua"/>
    
    <!-- Interface System MUST load before initialization -->
    <Script file="core/interface/design.lua"/>
    <Script file="core/interface/widgets.lua"/>
    <Script file="core/interface/options/tabs.lua"/>
    <Script file="core/interface/options/general.lua"/>
    <Script file="core/interface/options/sounds.lua"/>
    <Script file="core/interface/options/about.lua"/>
    <Script file="core/interface/options/modules.lua"/>
    <Script file="core/interface/options/sound_panel.lua"/>
    <Script file="core/interface/options/main.lua"/>

    <!-- Feature Modules -->
    <Script file="modules/Quest/Quest.lua"/>
    <Script file="modules/LevelUp/LevelUp.lua"/>
    <Script file="modules/Achievement/Achievement.lua"/>
    <Script file="modules/Reputation/Reputation.lua"/>
    <Script file="modules/BattlePet/BattlePet.lua"/>
    <Script file="modules/Honor/Honor.lua"/>
    <Script file="modules/Renown/Renown.lua"/>
    <Script file="modules/TradingPost/TradingPost.lua"/>
    <Script file="modules/Delve/Delve.lua"/>
    <Script file="modules/Housing/Housing.lua"/>
    
    <!-- Commands MUST load after options module is registered -->
    <Script file="core/commands.lua"/>
    
    <!-- Initialization MUST be LAST so all modules are registered -->
    <Script file="core/initialization.lua"/>

</Ui>
