In what environment were many of the first human settlements?