adding editing logic and gitignore file
gitignore file fix