Add a class for get all images from image directory