SHOP-809 Account setting configurable

Refactor Account settings now passed to driver constructor
Refactor Flake8