Merge "Extract min/max breakpoint key, and add Breakpoint factory" into main