Application now runs as client and connects to server