adding support for hooks
added a readme