2nd commit

added delete
still need to add support for saving state after closing