huge rewrite, split to base and yandex-specific parts

this change Dominator API, so I would like to leave it for the next release