[CLC-2358] Consolidate Bearfacts API Regblock logic
[CLC-2358] Cleanup unused code
[CLC-2358] Minor fixes, tests
[CLC-2358] More minor fixes
[CLC-2358] Fixes
Merge pull request #1474 from yuhunglin/CLC-2358

[CLC-2358] Consolidate Bearfacts API Regblock logic