added main and gitignore