msgstream: introduce NewMsgStream()
app: use Component.Type()