Removed some commented code and updated .gitignore