Create bfApi.php