added pause/unpause pubsub
adding documentation
build