added TODOs for additional features, and some refactoring.
added TODOs for additional features, and some refactoring.

lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon