Make server use just a single brain; refactor.