Create root directory if it does not exist
Clear in-memory cache when a memory warning is received