Issue #10: Refactor BranchHealthOptions to combine all configuration options in BranchHealthConfig.
Issue #10: Refactor debugging object structure so that it can be used outside of the main function.