remove unnecessary files and put the neccessary files