InputStream commConfigFileInputStream = Resources.getResource("default.s4.comm.properties").openStream();
InputStream coreConfigFileInputStream = Resources.getResource("default.s4.core.properties").openStream();
logger.info("Initializing S4 app with : {}", appConfig.toString());
AbstractModule commModule = new DefaultCommModule(commConfigFileInputStream);
AbstractModule coreModule = new DefaultCoreModule(coreConfigFileInputStream);
List<com.google.inject.Module> extraModules = new ArrayList<com.google.inject.Module>();
for (String moduleClass : appConfig.getCustomModulesNames()) {
extraModules.add((Module) Class.forName(moduleClass, true, modulesLoader).newInstance());