refactored code and specs for Oplog, OplogReader