added .gitignore and modified some files