Разобрал main на функции экспериментов.
Порефакторил.
Continued refactoring and cleanup.

Language of the project is now English. There are still Russian comments and a lot of Russian commit messages.