add basic case class for messages