Add hooks implementation
Merge pull request #17 from withassociates/hooks

Add hooks implementation