Abstracted referee behavior out of main server script