Create api_functions.php