Revert "Revert "Create server.c""

This reverts commit 7e67b29e65173ab98a7acbf23a7150bb978b77b2.