init server infrastructure