refactor with class instance variables +spec
Merge branch 'master' of github.com:mathieulaporte/oplog_event_handler