HSEARCH-1595 Update example code for Dynamic Sharding
HSEARCH-1595 Rewrite the chapter about custom Services and Provided Services