public AgentIO(SmallWorld smallWorld, MenuItem importMenuItem, MenuItem saveMenuItem) {
        this.smallWorld = smallWorld;
        this.importMenuItem = importMenuItem;
        this.saveMenuItem = saveMenuItem;
    }