start of hooking
now with working hooks
Merge pull request #1 from Floobits/hooks

wip start of hooking