delete useless classes and libs