Broke up server.c into sub files