added new class imagefilehandler and modified startimport