OOP refactorization, encapsulate dyeFilter