added structure for standardized message typing

Includes addMessageType on core to facilitate a standardized way of
creating and sharing message class definitions.