adding optional caching directory definition in datalib/config.py