Added files and functionality for delete and undo