removed old REST examples. added pubsub (more filter than pubsub though)