moved request creation from server.c into create_requests.c