WIP: adding PubSub event handler, working on reusable render container