PubSub singleton definition