Some code clean-up; made $books in Library class cache.