added cargo support
fixed cargo problems and lib problems
+ added basic safe read/write functions for RawMessage
+ added unsafe by ref read struct function
+ added safe by ref write struct function
+ added unsafe struct read function