changed client implementation to a while loop taking commands forever type
changed client implementation to a while loop taking commands forever type