replaces the use of promises with events for BaseURLExtensions.loadSegments