Set up .gitignore to ignore generated files and fixed what files are tracked (hopefully)