Flattened the server code a little and made the println's more verbose