[yan qian & fangzhigang] Add equals & hashcode to book
[yan qian & fangzhigang] Move Matcher to book