Completed all methods, removed unnecessary code.
Several fixes to remove warnings on comparisons.
Update to .gitignore