My attempt at a very tiny Pub/Sub pattern implementation