Add unit tests for reed solomon codec and fix up the codec
Remove old ReedSolomon codec implementation