Finished c client and modified server.