KV to single server

Also added gateway and dns projects.  Removed some old command protocol stuff that is long unused.