Delete unnecessary urls and views