The corporate authorities of each municipality may pass and enforce all necessary police ordinances.
65 ILCS 5/11-1-1