wrapped DCD things in a class: allow to save settings and the instance to know docs and projs.
+ fixes the small lag previously happening during first DCD query