Resolves #4.

Added a callback for deletion which will unlink images and remove the folders