Refactor|DED: Collecting ded_s related methods into the C++ class

Cleaning up the implementation by identifying what actually
constitutes the DED database.