remove unnecessary files and reorganize all files