Modeling Carbon and Nitrogen Dynamics for Soil Management