Added new message types for passing state information.
Implemented msg to array methods