move from integer dsrcid to string docid. remove superfluous dependencies.