Code refactor. Also save config only once a minute.
initial support for persisting the objectinventory on disk.

Related to issue #7.
reduce log spam from TestFindBootstrapNodes