exclude *.db file in gitignore
apply PEP8 coding style