Creating Image class.