Added pubsub samples

Not complete but should serve as a starting point"