[main] remove config hack
[db] always log index and lookup cache locations
[main] choose resolver at runtime