Create NamePublisher class