added .gitignore and other fixes