controllers divided and referee text input completed in #51