Move pixelation to separate file and encapsulate within a class