added in the chat example and added username.

Fiddled with isolating communications a bit - I have some ideas for modules to make things more organized, but it wasn't clean. will try again later