Put load image function in ImageManager class