Refactored ABP startup and module loading