add ErlideServiceLocator class
use service locator for runtime catalog