The purpose of the Michigan Vehicle Code is to regulate the operation of vehicles, to provide for the regulation and use of streets, highways, and alleys, and other public and semipublic places within the city, and to provide penalties for the violation of the vehicle code.