Added secrets.json to .gitignore.
Removed some dead code.