Impacts of technology and structural change on agricultural economy, rural communities, and the environment