The mayor and council of said city shall have power therein to lay off, close, open, alter, cut, pave and keep in good order and repair roads, alleys, streets, sidewalks, crosswalks, drains and gutters, for the use of the public or any of the citizens thereof, and to improve and light the same, regulate the width of the sidewalks on the streets, and to order the sidewalks, crossings, footings, drains and gutters to be curbed and paved and kept in good order, firm and clean by the owner or occupants thereof, or of the real property next adjacent thereto; to establish and regulate markets, to prescribe the time of holding the same, and taking the privilege of selling produce, meats and salable wares of all kinds therein; to prevent injury or annoyance to the public or individuals from anything dangerous, offensive, or unwholesome; to abate or cause to be abated anything which, in the opinion of the majority of the whole council, shall be a nuisance; to regulate the keeping of gunpowder and other combustibles; to provide in or near the city places for the burial of the dead, and to regulate interments therein; to prevent hogs, cattle, horses, sheep and other animals and fowls of all kinds from going at large in said city; to protect places of divine worship and educational institutions in said city; to provide for the regular building of houses and other structures; to make regulations guarding against danger or damages by fire; to protect the property and person of the citizens of said city, and for this purpose the mayor and council may, in their discretion, appoint a police force to assist the marshal in the discharge of his duties; to prescribe the powers and define the duties of the officers appointed by them, to fix their term of service and compensation; to provide for the draining of lots and streets by proper drains and ditches; to erect, authorize or prohibit the erection of gasworks or waterworks in said city, to prevent injury to or pollution to the same, or to the water or healthfulness of said city; to regulate and provide for the weighing of hay, coal and other articles sold or for sale in said city; to provide for the enforcement of said regulations by prescribing, imposing and enacting reasonable fines, penalties and imprisonments for a term not exceeding thirty (30) days,* or in lieu of fine and imprisonment to compel wrongdoers to labor on the streets, sidewalks or other public works of said city for a term not exceeding three (3) months. (Ga. L. 1895, p. 251, ยง 14)