move everything into lib/pre-commit