Move the rest of the API out of the api.php file