Various changes

- read password in from a config file
- use let-values
- refactor xmlrpc callers