Added external password storage.
Tweaked config loading.