Fix a few issues, add .gitignore
Remove temp file