Removed unused function, adding .gitignore