Remove unused imports
Refactor RaftLog into RaftLogBase and Journal-specific implementation