create publish & addListener & modify gui to establish msg routes