Abraham chapter 4 in the Pearl of Great Price gives great insights into how the creation of the earth came about. According to Abraham, the earth was not creating out of nothing, but out of existing matter. Abraham 4 uses 3 very interesting "O" words--organization, order, and obedience. Everything was organized and given order, but it's interesting about how the concept of obeience was different for the different entities that were "created".