removed autopublish packaged, added subscribe and publish methods