collect modality files in Modalities/, close #613