ticket:1 added flake8 config
ticket:1 code cleanup