basics of a module for msg creation/serialization