Tested Server.cpp, fixed some major issues.