Added APIResponse structure