small fixes and changes, add .gitignore