Skeleton code for server