В дополнение к посту - http://sw.reactor.cc/post/2611653
начало здесь - http://sw.reactor.cc/post/1931258