private static List<Module> createModules(CConfiguration cConf, Configuration hConf) {
return ImmutableList.of(
new DataFabricInMemoryModule(),
new ConfigModule(cConf, hConf),
new IOModule(),
new LocationRuntimeModule().getInMemoryModules(),
new DiscoveryRuntimeModule().getInMemoryModules(),
new ProgramRunnerRuntimeModule().getInMemoryModules(),
new MetricsClientModule()
);
}