removed autopublish and set up basic publication/subscription