The mayor and council shall have the power and authority, by ordinance, to create and establish a fire department in said city; to provide for the personnel therefor and equipment thereof; to purchase any necessary apparatus; and to make any needful rules and regulations for its proper maintenance.