Refactor commit index logic to prevent reverting to previous commit indices.
Refactor protocol and endpoint construction to use dependency injection via URIs.
Update README documentation.