Initial chat code & design
Documented chat code
Fixed #10 and #11