put image treatment stuff in a class