Added functional chat system. Much improvement to be done.