private void initializeServiceTracker() {
ServicesFactoryImpl servicesFactory = new ServicesFactoryImpl();
ServiceTracker.setFactory(servicesFactory);
ArrayList<Module> modules = new ArrayList<Module>();
modules.add(new ServiceFactoryModule());
// try {
// modules.addAll(ServiceLoader.loadServices(Module.class));
// } catch (ServiceException e) {
// throw new IllegalStateException(e);
// }