move image classes to image package