first part of replica handling prepares
get cases correct for commit and op numbers
refactoring
checkpoint
Merge pull request #3 from thinkmoore/vsr-replicas

Vsr replicas