working examples
reorganizing message pub/sub engine