add msg routing and handler skeletons