Revert "dg server code"

This reverts commit 47944ecda8c09d6dfecf00928d4b3ba07f64e25f.