Config format changed: [main] is not necessary
Code reorganization
Change code style to PEP8
Merge pull request #5 from timofey-stepanov/style

Code improvements