Move API from db_app to db_api.