add TaskDbServer interface and let the DocIDServer implements it and fixed some issue