We should be able to create a map somewhere regarding the types to be able to decode a message from an hex string and improve the command line