added image type
added utils to load image from file