Removed autopublish package. Added publication and subscription in server and client side in order to remove the global publication dependency.