Refactor out the ISBN lookup code into its own library.