An ecosystem framework for understanding and treating disease