Ecodynamics