clean Up and added conf file functionality
moved detector.conf file to image folder to save with the result
and linked to detector.conf in actual folder