Started with the ServerConnection class and added a GameSettings structure which is prettier instead of passing strings around.