Refactored Add files method
Add some things to .gitignore