Prepare infrastructure. сloses #1