moved MSGTYPE definitions to separate file in include directory