Create ChatAPI.php