added flake8.
Added db.