remove useless files and adjust view pages