skeleton of Server Swift implementation