Fix writing to the cache
Remove stale code
Leave .git directory when prefetching
Add basic README