remove useless files and add php file.