Refactoring, Index write logic move to BlogWriter