Remove unneeded files and codes