Update new format of config file

runID = run-prefix + run-config-file-name + long-desc
Updates!

Minor bug fixed in preparing query images for extracting features!
Code update

Include generating .res files!
Prepare annotation data for DPM

modify code of MD