Add message and MessageQueue classes