Fix several bugs in registry server
Add registry implementation