add .gitignore and fix some stuff