[opt] csvParser refactoring & N-element docs inserted into DB