The mayor and council of Manchester shall have power to organize one (1) or more work gangs, and to confine at labor therein persons who have been sentenced by the courts of said city to work upon the streets or other public works of said city, and shall have power to make all rules and regulations that may be suitable, usual or necessary for the government, discipline or control of such work gangs and to enforce the same through its proper officers.