move editing methods to imageEditor class