Abstract out applyCommand and the client handling loop
Store Entry rather than Value