Fornat and fix some code quality issues
PyCharm project