add get_relative_path
divide index into index and data
finish iibuilder and crawler for out_dir interface restruct