message encoding and decoding stuff into the base module. All of this is accessed by several of the NgATM modules and putting this into atmbase reduceds the memory footprint.