Revert commits and add gitignore