change main and updated gitignore