The county zoning ordinance, published as appendix A of this Code, will regulate the location, height of buildings and structures; the density of population; the size of yards and other open spaces; the use of land, buildings and structures for industry, commerce, agriculture, recreation, residence, public activities and other purposes; create districts for such purposes and establish boundaries; define terms; methods for administration, amendment and enforcement as well as penalties for violations; and provide for zoning appeals.