Add server listening for command to return status

Server now constantly check the inputstream for a command that was sent
by the client. Once it gets it gives a status that corresponds with
command sent!