Work commit 2

Well, it has less bugs then previous request, but still open bug:
 - search loop of attrs on other nodes won't work
 - master node doesn't start after init of the cluster