Add init.php to initialize API routing