Rewrited LogReader, minor refactoring
Improved cyclomatic complexity
Fixed scrutinizer issues