May have finished Cache

I cannot test it as it seems to have errors with normal reading and
writing to files, but cache is implemented into read and write methods
as needed.