e, and to make contracts, for a period of not to exceed five years, with such person, company or association for the furnishing of light for the streets, lanes, alleys and other public places and property of said city or village, and the inhabitants thereof, the furnishing of electricity to pump water or similar services for such city or village and to levy a tax for the purpose of paying the cost