setup skeleton of server