changes delete table on plugin deletion hook ,function to register components ,adding communication record