added the simple json writer for images
added the image load features