created rescan_controller for interactive image folder scanning