Merge pull request #11 from menghaoranss/issue6653-6

Refactor registry center