Strategy pattern introduced for book search