Add heklper functio for encoding messages
Add Typeable for Message
merge