[minor] Using a lib folder for 1 file is stupid
[fix] Removed dead code
[fix] Added pre-commit hook