Toy publish-subscribe library