update README to mention hooks & provide example hook definitions