Add publication and subscription