creating replica server interface