Create class_gapi.php