Move server to server.go