Moved full infrastructure build into ruby file