Preparing the server