App: rename api call implementations to api_*