Finished basic chat functionality, and with it chapter 3.