Do refactoring for token sets and genome file type