Refactor photo cache
Book editor is in place