better abstraction, now is possible to inject the Imagick object