delete unused classes and resources