I have seen something very similar in some other thread. You might find certain parts of that article useful, not everything obviously, but I still think it's worth looking into.
https://yandex.ru/collections/card/5c176a2ed41edd0071280d23/