Added command parsing to the server, and fixed up the client a bit