add NameService class to simplify CORBA access