delete ImgDataModel, move its content to ResManager