clean up the repo

- clean up the repo by adding .gitignore
- move db credentials to config.py, and ignore the file from the repo
- add config.py.example