Initial version of messages.
Added in apache license.
Merge remote-tracking branch 'origin/master'