added preprocessing files

added code to process the images and rename them according to format -
untested