A social system elements model of the small-farm system in developing countries