createTopic() --> createPublication()
Additional changes: error messages and expose more data to publication code.