Market Integration and Structural Transformation in a Poor Rural Economy