6:
 - background thread for journals compaction;
6:
 - refactoring - file read write and serialization split;
6:
 - move flag check