Revert "Added newd code"

This reverts commit 4516e7065821a1922d21dab950b14651168b72b7.