Create api-library.php