Updated code to use new hooks
with hooks, you don't need to have a class :wink:
small improvements to readme
Merge remote-tracking branch 'origin/hooks'

Conflicts:
	README.md