Added pub/sub examples