added image processing application

fixed bugs and ensured re-sending of data files