Backend Architecture Patterns for Claude Code API Design