Removes all unnecessary files, adds lines to .gitignore