Add registry to MainServer