Refactored books collection view model
Finished refactoring