Walk us through a complex codebase you recently wrote. What architectural patterns did you choose, and why?