See long description.

Organized code.
Established UI.
Added message hierarchy for sending message.