add name config service, remove dstruct