Add flake8, remove need for sqllite db in CI