add class.Chat.php