Adds cache, logs and spool directories