How were the books of the Bible selected?