Implemented resources and programs deletion