adding gitignore and resolving warning