add the ApiResponse class