Update custom_handler.d examle
Update README to add API explanation