updated the image_processor module interface to take in output folder separately from spec dict