Removed the problematic use of equals() method of base classes.
Created .gitignore