To provide for the prevention and extinguishment of fires and to organize and establish fire companies.