Add first rought outline of message format.

Also, move the example implementation to section "Examples".