Added delete support, flattened everything.
Fixed adding files.