Added the search and delete functions. In progress