[2pc]first draft of server.go -- detabify