refactor deltastring reader writer and add benchmark tests