Update and rename bridge.php to api.php