Revert "Add search and delete function"

This reverts commit ba59bd0be0a85438b63a9d8ecd685414cb1447d5.