Add comments on Hooker class
Delete unused code