Refactoring of Fastq quality filter