a chat system written by Erlang/OTP