deleted not necessary .h files and added support for deletions