Makes the library computer cache the book list

This is meant to reduce lag since SQL is consistently number one in all the profiles.

This PR is completely untested because I'm too lazy to set up a test DB but it looks mostly fine to me.
Fun fact: I spent about 20 minutes last night working on this TODO but I remembered I am a dumb "coder" and gave up.