fix(PEP8): add flake8, remove PEP8 warning/errors

- add setup.cfg for holding flake8 settings
- removed many unused imports in webapp.py
- fixed whitespaces
- updated