Added Chat Client

Added most of the chat functionality