More refactoring of array.
Update gitignore with eclipse files.