renamed *Local functions to *Server (eg registerServer)