Add .gitignore

* Little refactoring