Migrated 0store-secure-add to OCaml
Removed unused code
Ensure that cache directories are not setgid
Removed unused code