Added .gitignore and also small changes to main.