Fixed subscription response
Redesigned pubsub class