update .gitignore and remove temp files.