messages

Complete message queries and high-level messaging commands.