Fixes hook-path bug
Deletes obselete method.
Fixes hook documents not generating bug.
Updates readme. Code refactoring.