restructure, add event broker sample.