Added FileNotWritableException
Added start of caching system