Refactor and cleanup replay module