Prepare server structure