Hooks working

- Modified `registerHooks` to be used internally
- Added `listenToHook` for a public method
- Now only reading default and specified folders