refactor Book and all views page