Rest hook support, minor changes and update README.md