delete old files,add orm model