Create ChatManager.php