Said mayor and council shall have authority to regulate the opening and closing of all occupations, business and employments within said city, so as to provide at what hour each shall close and open, for the better preservation of the health, peace and good order of said city. Said mayor and council may classify the said businesses, occupations and employments, and make such regulations for each class as they deem best.