Created PyPubSub class