added description and partial implementation of message formats