Added config information for setting up the Image directory: IMAGEDIR
1. Added the config settings for defining IMAGEDIR
2. Fixed issues with handling  files which don't have metadata information
Merge pull request #6 from sunithamisra/master

Implemented Config settings and error handling of file metadata information