Setting up the server (subject to later modification)