Configurable cache and settings paths

Fixes #23.
Configurable proxy server

Untested!