Adding PubSub class scaffold