What was the main reason Spain sent government officials to its American colonies