The county attorney of any county may establish a pretrial diversion program with the concurrence of the county board. Any city attorney may establish a pretrial diversion program with the concurrence of the governing body of the city. Such programs shall be established pursuant to sections and to .