added .gitr directory to .gitignore
refactored