added .gitignore and hooks