List<Module> modules = Lists.newArrayList();
ConfigurationModule configurationModule = new ConfigurationModule();
modules.add(configurationModule);
Discovery discovery = Discovery.build();
ConfigurationImpl configuration = configurationModule.getConfiguration();
Extensions extensions = new Extensions(configuration, discovery);
modules.add(new CacheModule());