lots of comments; split Messages.h into multiple files