Added delete functionality. Still need to fix deleting images from file system