Where do the names of books of Bible come from? Where does the name of each book come from?

(I am not a Christian and this should be treated like a novice question.)
The various books get their names in different ways.  Most of the Old Testament books are named for their theme.  For example, the book of Genesis tells of the beginning (or genesis) of the world, and human history.  The book of Exodus tells of the story of the Israelites' exodus out of Egypt.  Psalms and Proverbs, are collections of, respectively, psalms (songs) and proverbs (wise sayings).  The books of Samuel, Ruth, Job, and many others, tell the stories of the people after which they are named.

In the New Testament, there are three main naming conventions.  Many books are named after their authors, such as the Gospels of Matthew, Mark, Luke, and John, along with a few other letters (also called Epistles), which are named after their authors, such as James, and First Peter and Second Peter (he wrote two letters that are in the Bible).

Some of the other books in the New Testament are also letters, and are named after the recipient.  First Corinithians and Second Corinthians are the first and second letters written to the church in Corinith, for instance.  And Romans is a letter written to the church in Rome.  First Timothy and Second Timothy are both letters written to Timothy (who was a church leader at the time).

And finally, a few of the New Testament books are also named after their theme.  Acts portrays the "acts of the Apostles", and Revelation is a revelation of new insight (although the exact theme of Revelation is somewhat of a disputed issue--some say it's a revelation about the future, others say it's historical in content).