refactoring on classifier's utils classes