class ConfigurationImpl implements Configuration {

    @Override
    public String getShardNameForModule(final String moduleName) {
        ModuleConfig moduleConfig = getModuleConfig(moduleName);
        if (moduleConfig != null) {
            Collection<ShardConfig> shardConfigs = moduleConfig.getShardConfigs();
            if (!shardConfigs.isEmpty()) {
                return shardConfigs.iterator().next().getName();
            }
        }
        return null;
    }

    public  ConfigurationImpl(final String moduleShardsConfigPath, final String modulesConfigPath);
    public  ConfigurationImpl(final ModuleShardConfigProvider provider);

}