add .gitignore
back old code
Revert "back old code"

This reverts commit 07b1087d6f14367a432be27e86d4f7195493ff36.