The economy of the South was based on