Add Constants and Message.
Move connect() to the super and add flush()
Update main with Message tests.