remove unused resources and views