new interface: Message
improved interface Connection
move classes to proper location