Impact of Environmental Factors on Key Functional Groups involved in Nitrogen Cycling in Agricultural Ecosystems