The mayor and council shall have the power to provide for a system of defense for indigent persons charged in the municipal court of the City of Damascus with violations of ordinances or state laws, and for the prosecution of such cases by a prosecutor, and to provide for and require the expense of same to be prorated over all criminal cases disposed of by the court, and all bond forfeitures in said cases, to be imposed by the municipal court judge and collected in all criminal cases and in bond forfeitures in such cases as costs in addition to fines, penalties, and all other costs.