some JSON restructioning and added single image data loading.