Updated gitignore
Some logics added