Refactoring and gitignore