Updated .gitignore;
Small refactoring.