Added option for customizing image name format
Changed dataset to dict, fixed bug with load_segmentation