start of the client, not near finished
fixed a few things with server.cpp
merging changes