Update gitignore
Minor refactoring