Reformated configuration
Fixed dealing with local/remote RMI registries