Updated gitignore to ignore db and __pycache__ files.