Refactored factoring aisbus from XML configuration