WIP: Allow configuration of cache dir and log dir in configuration.