The city council of said city shall have the power and authority (1) To prevent all animals and fowl from running at large in said city; (2) To prevent and prohibit the keeping of grazing, herd, and other traditional farm animals within the city limits, or to regulate the manner in which they must be kept if allowed to remain; (3) To impound such animal, or animals as referred to above when found upon the streets of said city, and to charge such fees for same as they may prescribe, and in addition thereto charge for the keep of such animal or animals so impounded; (4) To sell such animals as referred to above when the owner or owners of such animal or animals so impounded, shall fail or refuse to pay the impounding fee and cost of keeping said animal or animals, and the proceeds applied to the payment of said feed and cost of keeping said animal or animals; or (5) To dispose of such animals under such rules and regulations as may be prescribed by said council.